-
Notifications
You must be signed in to change notification settings - Fork 0
/
proguard.cfg
37 lines (27 loc) · 1.23 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
#prevent severe obfuscation
-keep,allowshrinking,allowoptimization class * { <methods>; }
-keepclasseswithmembernames,allowshrinking,allowoptimization class * {
native <methods>;
}
-keepclasseswithmembers,allowshrinking,allowoptimization class * {
public <init>(android.content.Context);
public <init>(android.content.Context,android.util.AttributeSet);
public <init>(android.content.Context,android.util.AttributeSet,int);
}
-keepclassmembers,allowoptimization class * {
public <init>(android.content.Context);
public <init>(android.content.Context,android.util.AttributeSet);
public <init>(android.content.Context,android.util.AttributeSet,int);
}
-keepnames class com.fasterxml.jackson.** { *; }
-keep class com.arcao.menza.api.data.** { *; }
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable #needed
-keepattributes Signature # Needed by google-api-client #to make XStream work with obfuscation?
-keepattributes EnclosingMethod #required?
-keepattributes InnerClasses #required?
-keepattributes Exceptions # can be removed?
-keepattributes Deprecated # can be removed?
-keepattributes Synthetic # can be removed?
-keepattributes *Annotation*
-dontwarn com.fasterxml.jackson.databind.**