From c6647d20df177a1d598d4c5c60f86f82cce47f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Mlynari=C4=8D?= Date: Fri, 24 Jun 2022 15:41:51 +0200 Subject: [PATCH] Fix debuggable build types Change-Id: Ie3ecf462cac81bd462c48ad161521b18836325b9 --- app/build.gradle.kts | 2 -- benchmark/build.gradle.kts | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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 +}