Created
March 3, 2017 16:31
-
-
Save hossain-khan/9ef158bba9cdfee9511d427c5d477f15 to your computer and use it in GitHub Desktop.
Android Build Gradle faster build configs. Based on https://developer.android.com/studio/build/optimize-your-build.html
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
productFlavors { | |
dev { | |
// To avoid using legacy multidex, set minSdkVersion to 21 or higher. | |
minSdkVersion 21 | |
// The following configuration limits the "dev" flavor to using | |
// English string resources and xxhdpi screen-density resources. | |
resConfigs "en", "xxxhdpi" | |
// Disable Crashlytics for your debug builds | |
// If you don't need to run a Crashlytics report, speed up your debug builds by disabling the plugin | |
//ext.enableCrashlytics = false | |
// To prevent Crashlytics from constantly updating its build ID | |
ext.alwaysUpdateBuildId = false | |
versionName defaultConfig.versionName + "-dev" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment