feat: enable code optimization and resource shrinking in release build

This commit is contained in:
2026-02-27 19:34:08 +01:00
parent d02e39b674
commit 96a9419746
4 changed files with 19 additions and 15 deletions

View File

@@ -25,7 +25,11 @@ android {
buildTypes {
release {
isMinifyEnabled = false
// Enables code-related app optimization.
isMinifyEnabled = true
// Enables resource shrinking.
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
)