Created
March 19, 2018 10:44
-
-
Save smhdk/293236776303a01ba790ac76518e3285 to your computer and use it in GitHub Desktop.
Modul build.gradle Proguard example 2
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 { | |
minifyEnabled true | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), | |
'proguard-rules.pro' | |
} | |
} | |
productFlavors { | |
flavor1 { | |
} | |
flavor2 { | |
proguardFile 'flavor2-rules.pro' | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment