blob: 5b606f5b88f740eb268ca3207fd4ceb75e7e2de9 (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# We use the general android proguard config. See project.properties for details.
# Suppress notes about classes from the general config, which we don't use at all.
-dontnote **.ILicensingService
-printusage usage.txt
-optimizationpasses 2
-dontobfuscate
-allowaccessmodification
-optimizations !code/simplification/arithmetic,!code/allocation/variable
# apache.commons.collections has some bean related collections, which are undefined in Android
-dontwarn java.beans.*
# rxjava includes references to the test frameworks within their class files
-dontwarn org.mockito.**
-dontwarn org.junit.**
-dontwarn org.robolectric.**
#-dontnote org.apache.commons.logging.**
-keep public class cgeo.geocaching.*
-keep class android.support.v4.os.** { *; }
-keep class ch.boye.httpclientandroidlib.conn.scheme.Scheme { *; }
-keep class ch.boye.httpclientandroidlib.params.HttpParams { *; }
-keep class ch.boye.httpclientandroidlib.client.HttpClient { *; }
-dontnote ch.boye.httpclientandroidlib.**
-dontwarn ch.boye.httpclientandroidlib.impl.auth.NegotiateScheme
-dontwarn org.springframework.**
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-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*(...);
}
# The backup agent class is not called from our code.
-keep public class cgeo.geocaching.backup.CentralBackupAgent
# Butter knife view injection, see http://jakewharton.github.io/butterknife/
-dontwarn butterknife.internal.**
-keep class **$$ViewInjector { *; }
-keepnames class * { @butterknife.InjectView *;}
# Null analysis annotations of Eclipse JDT are just used by the Eclipse compiler, so ignore them here
-dontwarn org.eclipse.jdt.annotation.**
|