Skip to content

Instantly share code, notes, and snippets.

@mukeshsolanki
Created March 28, 2022 16:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mukeshsolanki/999e2eb3235b4998309c88f31d850e7e to your computer and use it in GitHub Desktop.
Save mukeshsolanki/999e2eb3235b4998309c88f31d850e7e to your computer and use it in GitHub Desktop.
android {
buildTypes {
release {
// Enables code shrinking, obfuscation, and optimization for only
// your project's release build type.
minifyEnabled true
// Enables resource shrinking, which is performed by the
// Android Gradle plugin.
shrinkResources true
// Includes the default ProGuard rules files that are packaged with
// the Android Gradle plugin. To learn more, go to the section about
// R8 configuration files.
proguardFiles getDefaultProguardFile(
'proguard-android-optimize.txt'),
'proguard-rules.pro'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment