aboutsummaryrefslogtreecommitdiffstats
path: root/cgeo-contacts/proguard-project.txt
blob: c4cb93019fa59c4d9869bd49163f6ea652331213 (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
# 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.*
-dontwarn cgeo.geocaching.utils.Log

-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*(...);
}

# Null analysis annotations of Eclipse JDT are just used by the Eclipse compiler, so ignore them here
-dontwarn org.eclipse.jdt.annotation.**