Skip to content

Instantly share code, notes, and snippets.

@biancadragomir
Created April 2, 2023 08:05
Show Gist options
  • Save biancadragomir/ec0bf634f3a06d489c7ef62bdb121f39 to your computer and use it in GitHub Desktop.
Save biancadragomir/ec0bf634f3a06d489c7ef62bdb121f39 to your computer and use it in GitHub Desktop.
How to enable resource shrinking in your Android project
android {
...
buildTypes {
release {
shrinkResources true
minifyEnabled 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