Skip to content

Instantly share code, notes, and snippets.

@MohammadAzimi
Created March 12, 2023 06:40
Show Gist options
  • Save MohammadAzimi/5895c8a60507c0823bfaede0a5570cfc to your computer and use it in GitHub Desktop.
Save MohammadAzimi/5895c8a60507c0823bfaede0a5570cfc to your computer and use it in GitHub Desktop.
Disable sentry source map upload (Android)
// avoid uploading sourcemap: add these line at the end of:
// app/build.gradle
gradle.projectsEvaluated {
def tasksToSkip = project.tasks.matching {
it.name.contains("SentryUpload")
}
tasksToSkip.all { enabled = false }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment