aboutsummaryrefslogtreecommitdiffstats
path: root/cgeo-calendar/proguard-project.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cgeo-calendar/proguard-project.txt')
-rw-r--r--cgeo-calendar/proguard-project.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/cgeo-calendar/proguard-project.txt b/cgeo-calendar/proguard-project.txt
new file mode 100644
index 0000000..453d1a6
--- /dev/null
+++ b/cgeo-calendar/proguard-project.txt
@@ -0,0 +1,32 @@
+# 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*(...);
+} \ No newline at end of file