Skip to content

Commit

Permalink
Enable code shrinking
Browse files Browse the repository at this point in the history
  • Loading branch information
devliber committed Feb 24, 2022
1 parent 5a0b2a3 commit 142f8fe
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,22 @@ android {

buildTypes {
release {
minifyEnabled false
// 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'

ndk {
debugSymbolLevel = 'FULL'
}
}
}
compileOptions {
Expand Down

0 comments on commit 142f8fe

Please sign in to comment.