diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-06-02 09:33:23 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-06-02 09:33:23 +0200 |
| commit | 8ff66786d79eb6ba000327c65a03d47a808c63f6 (patch) | |
| tree | 9da5cf58c32e5007d121f9e85aa7aba117a41a69 /main | |
| parent | 61e89db0863410d692a136fce09e1a9376eca51a (diff) | |
| download | cgeo-8ff66786d79eb6ba000327c65a03d47a808c63f6.zip cgeo-8ff66786d79eb6ba000327c65a03d47a808c63f6.tar.gz cgeo-8ff66786d79eb6ba000327c65a03d47a808c63f6.tar.bz2 | |
refactoring: remove common proguard settings
Diffstat (limited to 'main')
| -rw-r--r-- | main/proguard-project.txt | 40 |
1 files changed, 10 insertions, 30 deletions
diff --git a/main/proguard-project.txt b/main/proguard-project.txt index 762d381..cf4ed33 100644 --- a/main/proguard-project.txt +++ b/main/proguard-project.txt @@ -1,30 +1,26 @@ +# 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 --dontpreverify -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.* --dontwarn org.mapsforge.android.maps.Test* --dontwarn android.support.v4.** --dontwarn org.apache.log4j.** --dontwarn org.apache.commons.logging.** --dontwarn ch.boye.httpclientandroidlib.impl.auth.NegotiateScheme --dontnote org.apache.commons.logging.** +#-dontnote org.apache.commons.logging.** --keep public class * extends android.app.Activity --keep public class * extends android.app.Application --keep public class * extends android.app.Service --keep public class * extends android.content.BroadcastReceiver --keep public class * extends android.content.ContentProvider -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); @@ -34,23 +30,6 @@ public <init>(android.content.Context, android.util.AttributeSet, int); } --keepclassmembers enum * { - public static **[] values(); - public static ** valueOf(java.lang.String); -} - --keep class * implements android.os.Parcelable { - public static final android.os.Parcelable$Creator *; -} - --keepclassmembers class **.R$* { - public static <fields>; -} - --keepclassmembers class cgeo.geocaching.** { - public void *(android.view.View); -} - -keep public class * extends android.view.View { public <init>(android.content.Context); public <init>(android.content.Context, android.util.AttributeSet); @@ -58,6 +37,7 @@ 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 { |
