diff --git a/app/build.gradle b/app/build.gradle index 4d03a3bd3..29333e107 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -20,6 +20,11 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled = true + ndk { + abiFilters = [] + abiFilters.addAll(["arm64-v8a", "x86_64"]) + } + externalNativeBuild { cmake { arguments "-DANDROID_STL=c++_static" @@ -59,9 +64,9 @@ android { // PRIVATE BUILD: comment (add two slashes at the start of each line) all the `sentry` // block for private release builds support sentry { // https://docs.sentry.io/platforms/android/#gradle-configuration - autoUpload.set(true) - uploadNativeSymbols.set(true) - includeNativeSources.set(true) + autoUpload.set(false) + uploadNativeSymbols.set(false) + includeNativeSources.set(false) } } } @@ -80,11 +85,7 @@ android { applicationVariants.configureEach { variant -> variant.mergedFlavor.manifestPlaceholders.dropboxApiKey = loadDropboxProps().getProperty("dropbox_key") -// if (variant.buildType.name == "debug") { -// variant.mergedFlavor.manifestPlaceholders.sentryPublicDSN = "" -// } else { - variant.mergedFlavor.manifestPlaceholders.sentryPublicDSN = loadSecretProps().getProperty("sentry.public_dsn") -// } + variant.mergedFlavor.manifestPlaceholders.sentryPublicDSN = loadSecretProps().getProperty("sentry.public_dsn") } externalNativeBuild { diff --git a/build.gradle b/build.gradle index e08bf5532..6e9efc26e 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ buildscript { dependencies { classpath "com.android.tools.build:gradle:$agp_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath "io.sentry:sentry-android-gradle-plugin:3.4.3" + classpath "io.sentry:sentry-android-gradle-plugin:3.13.0" } }