-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproguard.cfg
40 lines (39 loc) · 1.28 KB
/
proguard.cfg
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
38
39
40
-target 1.6
-dontoptimize
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-dump ../bin/class_files.txt
-printseeds ../bin/seeds.txt
-printusage ../bin/unused.txt
-printmapping ../bin/mapping.txt
# The -optimizations option disables some arithmetic simplifications that Dalvik 1.0 and 1.5 can't handle.
-optimizations !code/simplification/arithmetic
-keepattributes **
-keep class com.google.inject.Binder
-keepclasseswithmembers class * {
@com.google.inject.Inject <init>(...);
}
-keepclassmembers class * {
void finalizeReferent();
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep @interface com.google.inject.Inject
-dontwarn com.google.inject.internal.asm.util.$TraceClassVisitor
-keep public class * extends android.view.View {
public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
public void set*(...);
}
-keep abstract class com.google.inject.internal.cglib.reflect.$FastClass {
public protected *;
}
-keep class com.google.inject.** { *; }
-keep class javax.inject.** { *; }
-keep class javax.annotation.** { *; }
-keep class roboguice.** { *; }