2012-09-17 00:48:52 +02:00
|
|
|
-printmapping out.map
|
|
|
|
-renamesourcefileattribute SourceFile
|
|
|
|
-keepattributes SourceFile,LineNumberTable
|
|
|
|
|
2012-09-20 18:21:01 +02:00
|
|
|
-dontpreverify
|
|
|
|
-repackageclasses ''
|
|
|
|
-allowaccessmodification
|
|
|
|
-optimizations !code/simplification/arithmetic
|
|
|
|
-keepattributes *Annotation*
|
|
|
|
|
2011-12-23 19:22:06 +01:00
|
|
|
-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
|
|
|
|
|
2012-09-20 18:21:01 +02:00
|
|
|
-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*(...);
|
2011-12-23 19:22:06 +01:00
|
|
|
}
|
|
|
|
|
2013-03-20 19:17:13 +01:00
|
|
|
-keepclassmembers enum * {
|
|
|
|
public static **[] values();
|
|
|
|
public static ** valueOf(java.lang.String);
|
|
|
|
}
|
|
|
|
|
2011-12-23 19:22:06 +01:00
|
|
|
-keepclasseswithmembers class * {
|
|
|
|
public <init>(android.content.Context, android.util.AttributeSet);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class * {
|
|
|
|
public <init>(android.content.Context, android.util.AttributeSet, int);
|
|
|
|
}
|
|
|
|
|
2012-09-20 18:21:01 +02:00
|
|
|
-keepclassmembers class * extends android.content.Context {
|
2011-12-23 19:22:06 +01:00
|
|
|
public void *(android.view.View);
|
2012-09-20 18:21:01 +02:00
|
|
|
public void *(android.view.MenuItem);
|
2011-12-23 19:22:06 +01:00
|
|
|
}
|
|
|
|
|
2012-09-20 18:21:01 +02:00
|
|
|
-keepclassmembers class * implements android.os.Parcelable {
|
|
|
|
static android.os.Parcelable$Creator CREATOR;
|
2011-12-23 19:22:06 +01:00
|
|
|
}
|
|
|
|
|
2012-09-20 18:21:01 +02:00
|
|
|
-keepclassmembers class **.R$* {
|
|
|
|
public static <fields>;
|
2011-12-23 19:22:06 +01:00
|
|
|
}
|
2012-07-20 14:44:17 +02:00
|
|
|
|
|
|
|
-keep class android.support.v4.app.** { *; }
|
|
|
|
-keep interface android.support.v4.app.** { *; }
|
|
|
|
-keep class com.actionbarsherlock.** { *; }
|
|
|
|
-keep interface com.actionbarsherlock.** { *; }
|
2012-09-20 18:21:01 +02:00
|
|
|
|
2012-07-20 14:44:17 +02:00
|
|
|
-keepattributes *Annotation*
|
2012-09-20 18:21:01 +02:00
|
|
|
|
|
|
|
-keep class org.shredzone.flattr4j.** { *; }
|
|
|
|
-dontwarn org.shredzone.flattr4j.**
|
|
|
|
|
2012-09-25 17:51:23 +02:00
|
|
|
-keep class org.apache.commons.** { *; }
|
|
|
|
|
2012-09-20 18:21:01 +02:00
|
|
|
-dontskipnonpubliclibraryclassmembers
|