Created
March 7, 2016 19:51
-
-
Save patrykpoborca/02b7c0fd1ac663497690 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 { | |
productFlavors { | |
// Define separate dev and prod product flavors. | |
dev { | |
// dev utilizes minSDKVersion = 21 to allow the Android gradle plugin | |
// to pre-dex each module and produce an APK that can be tested on | |
// Android Lollipop without time consuming dex merging processes. | |
minSdkVersion 21 | |
} | |
prod { | |
// The actual minSdkVersion for the application. | |
minSdkVersion 14 | |
} | |
} | |
... | |
buildTypes { | |
release { | |
runProguard 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