Update build.gradle (#3438)

Replace minify and shink resources with post processing block
This commit is contained in:
laplaceon 2020-07-10 09:36:33 -04:00 committed by GitHub
parent 40639c0933
commit fefd4c0b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,11 +64,15 @@ android {
versionNameSuffix "-${getCommitCount()}" versionNameSuffix "-${getCommitCount()}"
applicationIdSuffix ".debug" applicationIdSuffix ".debug"
} }
// release { release {
// minifyEnabled true postprocessing {
// shrinkResources true obfuscate false
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' optimizeCode true
// } removeUnusedCode false
removeUnusedResources true
proguardFiles 'proguard-rules.pro'
}
}
} }
flavorDimensions "default" flavorDimensions "default"