From eaa33630d3f4ec4d61626a14de5e512477803ff9 Mon Sep 17 00:00:00 2001 From: Caleb Fenton Date: Sun, 13 Dec 2015 10:47:31 -0700 Subject: [PATCH] Fix proguard build --- simplify/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simplify/build.gradle b/simplify/build.gradle index 4e6383210..d33356903 100644 --- a/simplify/build.gradle +++ b/simplify/build.gradle @@ -79,6 +79,7 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: fatJar) { dontobfuscate //dontoptimize + optimizations '!code/allocation/variable' keepclassmembers 'enum * { public static **[] values(); public static ** valueOf(java.lang.String); }' keepattributes '*Annotation*,Signature,InnerClasses,EnclosingMethod' @@ -88,6 +89,7 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: fatJar) { keep 'class org.apache.commons.logging.** { public protected *; }' keep 'public class ch.qos.** { public protected *; }' + keep 'public class org.slf4j.** { public protected *; }' dontwarn verbose