增加混淆规则
This commit is contained in:
13
lib/proguard-rules.pro
vendored
13
lib/proguard-rules.pro
vendored
@@ -19,3 +19,16 @@
|
|||||||
# If you keep the line number information, uncomment this to
|
# If you keep the line number information, uncomment this to
|
||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-renamesourcefileattribute SourceFile
|
||||||
|
|
||||||
|
#ZXingLite
|
||||||
|
-dontwarn com.king.zxing.**
|
||||||
|
-keep class com.king.zxing.**{ *;}
|
||||||
|
-keepattributes InnerClasses
|
||||||
|
-keepclassmembers enum * {
|
||||||
|
public static **[] values();
|
||||||
|
public static ** valueOf(java.lang.String);
|
||||||
|
}
|
||||||
|
|
||||||
|
#ZXing
|
||||||
|
-dontwarn com.google.zxing.**
|
||||||
|
-keep class com.google.zxing.**{ *;}
|
||||||
|
|||||||
Reference in New Issue
Block a user