Fix debuggable build types

Change-Id: Ie3ecf462cac81bd462c48ad161521b18836325b9
pull/158/head
Tomáš Mlynarič 2 years ago
parent 56268ade5e
commit 2407a1d4b4

@ -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"
}
}

@ -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"
}
}
}

Loading…
Cancel
Save