From 08ded391c475c555f918df778574e5dd25d61352 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 6 Jun 2023 14:47:52 +0530 Subject: fix(build): fully disable Sentry ProGuard by default --- build-logic/src/main/kotlin/app/passwordstore/gradle/SentryPlugin.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build-logic') 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.plugins.apply(SentryPlugin::class) project.extensions.configure { + includeProguardMapping.set( + project.providers.gradleProperty(SENTRY_UPLOAD_MAPPINGS_PROPERTY).isPresent + ) autoUploadProguardMapping.set( project.providers.gradleProperty(SENTRY_UPLOAD_MAPPINGS_PROPERTY).isPresent ) -- cgit v1.2.3