Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Fix debuggable build types

Tomáš Mlynarič2407a1d4b4cf
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 816911b04..a4fae0d3f 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -62,8 +62,6 @@ android {
proguardFiles("benchmark-rules.pro")
// FIXME enabling minification breaks access to demo backend.
isMinifyEnabled = false
- // Keep the build type debuggable so we can attach a debugger if needed.
- isDebuggable = true
applicationIdSuffix = ".benchmark"
}
}
diff --git a/benchmark/build.gradle.kts b/benchmark/build.gradle.kts
index 9fd1d5864..f59e32dd3 100644
--- a/benchmark/build.gradle.kts
+++ b/benchmark/build.gradle.kts
@@ -33,7 +33,8 @@ android {
// release build (for example, with minification on). It's signed with a debug key
// for easy local/CI testing.
val benchmark by creating {
- isDebuggable = false
+ // Keep the build type debuggable so we can attach a debugger if needed.
+ isDebuggable = true
signingConfig = signingConfigs.getByName("debug")
matchingFallbacks.add("release")
}
@@ -58,4 +59,4 @@ androidComponents {
beforeVariants {
it.enable = it.buildType == "benchmark"
}
-}
\ No newline at end of file
+}