From d558f94e40482e00199e97ad23fb50aa6dc6f838 Mon Sep 17 00:00:00 2001 From: Patrick Honkonen <1883101+SaintPatrck@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:19:52 -0400 Subject: [PATCH] [PM-10440] Enable minification on beta build variants (#3661) --- app/build.gradle.kts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 570373ec1..1bc5c5e48 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -65,8 +65,13 @@ android { // Beta and Release variants are identical except beta has a different package name create("beta") { - initWith(buildTypes.getByName("release")) applicationIdSuffix = ".beta" + isDebuggable = false + isMinifyEnabled = true + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) } release { isDebuggable = false