Skip to content

Instantly share code, notes, and snippets.

@AlburIvan
Created October 28, 2016 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlburIvan/2c8bc3de4d5d12e08394462748c9c36e to your computer and use it in GitHub Desktop.
Save AlburIvan/2c8bc3de4d5d12e08394462748c9c36e to your computer and use it in GitHub Desktop.
Example of ProGuard and Shrink Resources configuration
android {
// Other settings
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment