aboutsummaryrefslogtreecommitdiff
path: root/build-logic/android-plugins
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-02-22 14:33:03 +0530
committerGitHub <noreply@github.com>2022-02-22 14:33:03 +0530
commitf08ad35d2e26b3f222cca4f973a865bdd815eeb3 (patch)
tree48c6d6bab17309de5ec4a8429799a59ddf1ce659 /build-logic/android-plugins
parent82e3ba6ce5bf770ea5b81fa5debdf7472e916cfd (diff)
Expand tests for multiple identity keys (#1743)
Diffstat (limited to 'build-logic/android-plugins')
-rw-r--r--build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.sentry.gradle.kts6
1 files changed, 1 insertions, 5 deletions
diff --git a/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.sentry.gradle.kts b/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.sentry.gradle.kts
index 3648ccf0..4c22e8c8 100644
--- a/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.sentry.gradle.kts
+++ b/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.sentry.gradle.kts
@@ -11,11 +11,7 @@ val INVOKED_FROM_IDE_PROPERTY = "android.injected.invoked.from.ide"
android {
androidComponents {
onVariants(selector().withFlavor(FlavorDimensions.FREE to ProductFlavors.NON_FREE)) { variant ->
- val sentryDsn =
- project
- .providers
- .environmentVariable(SENTRY_DSN_PROPERTY)
- .orElse("https://public_key@example.com/project_id")
+ val sentryDsn = project.providers.environmentVariable(SENTRY_DSN_PROPERTY)
if (sentryDsn.isPresent) {
variant.manifestPlaceholders.put("sentryDsn", sentryDsn.get())
} else if (project.providers.gradleProperty(INVOKED_FROM_IDE_PROPERTY).orNull != "true") {