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()}"
applicationIdSuffix ".debug"
}
// release {
// minifyEnabled true
// shrinkResources true
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// }
release {
postprocessing {
obfuscate false
optimizeCode true
removeUnusedCode false
removeUnusedResources true
proguardFiles 'proguard-rules.pro'
}
}
}
flavorDimensions "default"