Make debug builds with proguard faster

This commit is contained in:
serso 2016-02-07 13:36:17 +01:00
parent c528d181db
commit e78c583dce
2 changed files with 2 additions and 4 deletions

View File

@ -42,7 +42,7 @@ android {
} }
debug { debug {
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-debug.cfg' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-debug.cfg'
} }
} }
lintOptions { lintOptions {

View File

@ -1,11 +1,9 @@
-target 1.6 -target 1.6
-optimizationpasses 1
-dontobfuscate -dontobfuscate
-dontusemixedcaseclassnames -dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses -dontskipnonpubliclibraryclasses
-dontpreverify -dontpreverify
-repackageclasses ''
-allowaccessmodification
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable
-keepattributes *Annotation* -keepattributes *Annotation*
-keep public class * extends android.app.Activity -keep public class * extends android.app.Activity