aboutsummaryrefslogtreecommitdiff
path: root/build-logic
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-06-06 14:47:52 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-06-06 14:47:52 +0530
commit08ded391c475c555f918df778574e5dd25d61352 (patch)
tree0f631943cc514473aca88e02aaef963050f0df61 /build-logic
parent0669f8a062e9a8743173e755e32efd136438cad6 (diff)
fix(build): fully disable Sentry ProGuard by default
Diffstat (limited to 'build-logic')
-rw-r--r--build-logic/src/main/kotlin/app/passwordstore/gradle/SentryPlugin.kt3
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
)