forked from patrickfav/bytes-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proguard-rules.pro
37 lines (27 loc) · 893 Bytes
/
proguard-rules.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
-dontusemixedcaseclassnames
-dontobfuscate
-verbose
-keepattributes *Annotation*,EnclosingMethod, InnerClasses, Exceptions, Signature, SourceFile, LineNumberTable, MethodParameters
-renamesourcefileattribute SourceFile
-optimizationpasses 3
-overloadaggressively
-keepclasseswithmembernames class * {
native <methods>;
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
################################################
-dontnote com.sun.**
-dontwarn com.sun.**
-dontnote sun.**
-dontwarn sun.**
-dontnote java.**
-dontwarn java.**
-dontnote javax.**
-dontwarn javax.**
# keep all public classes in main package
-keep public class at.favre.lib.bytes.** { public *; }
-keep interface at.favre.lib.bytes.** { <methods>; }