Minify release but don't obfuscate

This commit is contained in:
Juha Heinanen
2025-04-05 13:32:25 +03:00
parent b249755941
commit 4906d37f43
2 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,8 @@ android {
}
buildTypes {
release {
isMinifyEnabled = false
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"

View File

@ -9,6 +9,7 @@
# Add any project specific keep options here:
-keepattributes LineNumberTable,SourceFile
-dontobfuscate
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface