drastically speed up debug build by not minifying and compressing resources. Release builds unaffected.

This commit is contained in:
Toby Kurien 2015-09-04 13:46:43 +02:00 committed by Peter Serwylo
parent 11caf22dc6
commit 8a7feba9cc

View File

@ -141,13 +141,17 @@ android {
buildTypes {
all {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
minifyEnabled false
shrinkResources false
}
debug {
debuggable true
}
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {