Skip to content

Commit

Permalink
Twelve: Enable code & resource shrinking in gradle too
Browse files Browse the repository at this point in the history
Change-Id: Ic214eba55c6d57f97bbcc625d234537905c6f6d5
  • Loading branch information
luca020400 committed Nov 3, 2024
1 parent fc7559b commit 7fb6426
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ android {

buildTypes {
release {
isMinifyEnabled = false
// Enables code shrinking, obfuscation, and optimization.
isMinifyEnabled = true

// Enables resource shrinking.
isShrinkResources = true

proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
Expand Down

0 comments on commit 7fb6426

Please sign in to comment.