From e2db5ab4f36ecf337fbe6033cfd7e8eb416450cf Mon Sep 17 00:00:00 2001 From: damontecres <154766448+damontecres@users.noreply.github.com> Date: Fri, 17 Oct 2025 19:44:36 -0400 Subject: [PATCH] Enable minify/proguard (#29) --- app/build.gradle.kts | 5 ++++- app/proguard-rules.pro | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8a87db91..68dbd17b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -61,13 +61,16 @@ android { buildTypes { release { - isMinifyEnabled = false + isMinifyEnabled = true proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro", ) + isDebuggable = false } debug { + isMinifyEnabled = false + isDebuggable = true } } compileOptions { diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index f1b42451..462dd204 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -14,7 +14,7 @@ # Uncomment this to preserve the line number information for # debugging stack traces. -#-keepattributes SourceFile,LineNumberTable +-keepattributes SourceFile,LineNumberTable # If you keep the line number information, uncomment this to # hide the original source file name.