Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Android Build Gradle faster build configs. Based on
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