Skip to content

Commit

Permalink
add proguard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunzxyong committed Oct 23, 2018
1 parent b65bac6 commit 3f44870
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tiny/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

-ignorewarnings
-keepattributes Signature
-keepattributes *Annotation*
-keep @android.support.annotation.Keep class *
-keepclassmembers class * {
@android.support.annotation.Keep *;
}
-keepclasseswithmembers class * implements java.io.Serializable {*;}

-keep class com.zxy.libjpegturbo.JpegTurboCompressor {*;}
-keep class com.zxy.tiny.Tiny {*;}

0 comments on commit 3f44870

Please sign in to comment.