blob: cf4ed333d714991a3977e6777cc2cabdb19b7bc1 (
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
|
# 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
-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.*
#-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
-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
-keepclassmembers class cgeo.geocaching.compatibility.AndroidLevel8 {
public static <methods>;
}
# Butter knife view injection, see http://jakewharton.github.io/butterknife/
-dontwarn butterknife.Views$InjectViewProcessor
-keep class **$$ViewInjector { *; }
|