Disables release build minification and obfuscation.

This commit is contained in:
2021-08-03 12:53:09 -07:00
parent 90766aaa66
commit 837005965b

View File

@@ -44,16 +44,16 @@ android {
release { release {
// Enables code shrinking, obfuscation, and optimization for only // Enables code shrinking, obfuscation, and optimization for only
// your project's release build type. // your project's release build type.
minifyEnabled false // minifyEnabled true
// Enables resource shrinking, which is performed by the // Enables resource shrinking, which is performed by the
// Android Gradle plugin. // Android Gradle plugin.
shrinkResources true // shrinkResources true
// Includes the default ProGuard rules files that are packaged with // Includes the default ProGuard rules files that are packaged with
// the Android Gradle plugin. To learn more, go to the section about // the Android Gradle plugin. To learn more, go to the section about
// R8 configuration files. // R8 configuration files.
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
} }
} }
compileOptions { compileOptions {