Created
April 2, 2023 08:05
-
-
Save biancadragomir/ec0bf634f3a06d489c7ef62bdb121f39 to your computer and use it in GitHub Desktop.
How to enable resource shrinking in your Android project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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