From f08ad35d2e26b3f222cca4f973a865bdd815eeb3 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 22 Feb 2022 14:33:03 +0530 Subject: Expand tests for multiple identity keys (#1743) --- .../main/kotlin/com.github.android-password-store.sentry.gradle.kts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'build-logic/android-plugins/src/main') 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") { -- cgit v1.2.3