Skip to content

Commit

Permalink
Fix proguard build
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebFenton committed Dec 13, 2015
1 parent ff5f4a7 commit eaa3363
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simplify/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit eaa3363

Please sign in to comment.