[UPDATE] Enable release build obfuscation

Update AGP to get the fix https://issuetracker.google.com/u/0/issues/401515589?pli=1

Fixes #11
This commit is contained in:
Hossain Khan
2025-05-04 21:08:43 -04:00
parent 8080a42a70
commit 62df1def0d
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -50,7 +50,12 @@ android {
// See https://github.com/usetrmnl/trmnl-android/issues/16
buildConfigField("Boolean", "USE_FAKE_API", "false")
isMinifyEnabled = false
// Enables code shrinking, obfuscation, and optimization
isMinifyEnabled = true
// Enables resource shrinking, which is performed by the Android Gradle plugin.
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro",
+1 -1
View File
@@ -2,7 +2,7 @@
activityCompose = "1.10.1"
# https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive
adaptive = "1.2.0-alpha04"
agp = "8.9.1"
agp = "8.9.2"
anvil = "0.4.1"
circuit = "0.27.1"
composeBom = "2025.04.01"