diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-06 14:47:52 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-06 14:47:52 +0530 |
commit | 08ded391c475c555f918df778574e5dd25d61352 (patch) | |
tree | 0f631943cc514473aca88e02aaef963050f0df61 | |
parent | 0669f8a062e9a8743173e755e32efd136438cad6 (diff) |
fix(build): fully disable Sentry ProGuard by default
-rw-r--r-- | build-logic/src/main/kotlin/app/passwordstore/gradle/SentryPlugin.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/SentryPlugin.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/SentryPlugin.kt index 4ac5a7f6..6bcbdd85 100644 --- a/build-logic/src/main/kotlin/app/passwordstore/gradle/SentryPlugin.kt +++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/SentryPlugin.kt @@ -26,6 +26,9 @@ class SentryPlugin : Plugin<Project> { } project.plugins.apply(SentryPlugin::class) project.extensions.configure<SentryPluginExtension> { + includeProguardMapping.set( + project.providers.gradleProperty(SENTRY_UPLOAD_MAPPINGS_PROPERTY).isPresent + ) autoUploadProguardMapping.set( project.providers.gradleProperty(SENTRY_UPLOAD_MAPPINGS_PROPERTY).isPresent ) |