mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 11:28:22 +00:00
Enable resource shrinking on release and drop UnstableApiUsage suppress
isShrinkResources pairs with isMinifyEnabled so R8 can prune unused resources alongside dead code. Also drops the @Suppress on androidResources.localeFilters: the warning was an IDE inspection only; gradle script compilation is clean. https://claude.ai/code/session_01VFNWcRfGTUpgqzUBpU9wFu
This commit is contained in:
@@ -30,7 +30,6 @@ android {
|
||||
}
|
||||
|
||||
androidResources {
|
||||
@Suppress("UnstableApiUsage")
|
||||
localeFilters += listOf(
|
||||
"bn-BD",
|
||||
"cs",
|
||||
@@ -123,6 +122,7 @@ android {
|
||||
}
|
||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
resValue("string", "app_name", "@string/app_name_release")
|
||||
}
|
||||
debug {
|
||||
|
||||
Reference in New Issue
Block a user