fix(build): fully disable Sentry ProGuard by default

This commit is contained in:
Harsh Shandilya 2023-06-06 14:47:52 +05:30
parent 0669f8a062
commit 08ded391c4
No known key found for this signature in database

View file

@ -26,6 +26,9 @@ class SentryPlugin : Plugin<Project> {
} }
project.plugins.apply(SentryPlugin::class) project.plugins.apply(SentryPlugin::class)
project.extensions.configure<SentryPluginExtension> { project.extensions.configure<SentryPluginExtension> {
includeProguardMapping.set(
project.providers.gradleProperty(SENTRY_UPLOAD_MAPPINGS_PROPERTY).isPresent
)
autoUploadProguardMapping.set( autoUploadProguardMapping.set(
project.providers.gradleProperty(SENTRY_UPLOAD_MAPPINGS_PROPERTY).isPresent project.providers.gradleProperty(SENTRY_UPLOAD_MAPPINGS_PROPERTY).isPresent
) )