From e78c583dce476122875c4a435ca4a53a2d324765 Mon Sep 17 00:00:00 2001 From: serso Date: Sun, 7 Feb 2016 13:36:17 +0100 Subject: [PATCH] Make debug builds with proguard faster --- app/build.gradle | 2 +- app/proguard-debug.cfg | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c8bbcf12..f6abaf19 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -42,7 +42,7 @@ android { } debug { minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-debug.cfg' + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-debug.cfg' } } lintOptions { diff --git a/app/proguard-debug.cfg b/app/proguard-debug.cfg index b1803fd1..1809616a 100644 --- a/app/proguard-debug.cfg +++ b/app/proguard-debug.cfg @@ -1,11 +1,9 @@ -target 1.6 +-optimizationpasses 1 -dontobfuscate -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses -dontpreverify --repackageclasses '' --allowaccessmodification --optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable -keepattributes *Annotation* -keep public class * extends android.app.Activity