Updated proguard.cfg

This commit is contained in:
daniel oeh 2012-09-20 18:21:01 +02:00
parent 9633cd0c62
commit f78bb0be13
1 changed files with 28 additions and 24 deletions

View File

@ -1,26 +1,29 @@
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-printmapping out.map -printmapping out.map
-renamesourcefileattribute SourceFile -renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable -keepattributes SourceFile,LineNumberTable
-injars bin/classes
-injars libs
-outjars bin/classes-processed.jar
-libraryjars /Users/Daniel/bin/android-sdk/platforms/android-16/android.jar
-dontpreverify
-repackageclasses ''
-allowaccessmodification
-optimizations !code/simplification/arithmetic
-keepattributes *Annotation*
-keep public class * extends android.app.Activity -keep public class * extends android.app.Activity
-keep public class * extends android.app.Application -keep public class * extends android.app.Application
-keep public class * extends android.app.Service -keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver -keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider -keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService
-keepclasseswithmembernames class * { -keep public class * extends android.view.View {
native <methods>; 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*(...);
} }
-keepclasseswithmembers class * { -keepclasseswithmembers class * {
@ -31,27 +34,28 @@
public <init>(android.content.Context, android.util.AttributeSet, int); public <init>(android.content.Context, android.util.AttributeSet, int);
} }
-keepclassmembers class * extends android.app.Activity { -keepclassmembers class * extends android.content.Context {
public void *(android.view.View); public void *(android.view.View);
public void *(android.view.MenuItem);
} }
-keepclassmembers enum * { -keepclassmembers class * implements android.os.Parcelable {
public static **[] values(); static android.os.Parcelable$Creator CREATOR;
public static ** valueOf(java.lang.String);
} }
-keep class * implements android.os.Parcelable { -keepclassmembers class **.R$* {
public static final android.os.Parcelable$Creator *; public static <fields>;
} }
-keep class android.support.v4.app.** { *; } -keep class android.support.v4.app.** { *; }
-keep interface android.support.v4.app.** { *; } -keep interface android.support.v4.app.** { *; }
-keep class com.actionbarsherlock.** { *; } -keep class com.actionbarsherlock.** { *; }
-keep interface com.actionbarsherlock.** { *; } -keep interface com.actionbarsherlock.** { *; }
-keep class org.shredzone.flattr4j.** { *; }
-dontskipnonpubliclibraryclasses
-keepattributes *Annotation* -keepattributes *Annotation*
-dontwarn android.support.**
-dontwarn org.shredzone.flattr4j.connector.impl.NewFlattrHttpClient -keep class org.shredzone.flattr4j.** { *; }
-dontwarn com.viewpagerindicator.UnderlinePageIndicator -dontwarn org.shredzone.flattr4j.**
-libraryjars /Users/daniel/src/android/podcatcher/libs -libraryjars /Users/daniel/src/android/podcatcher/libs
-dontskipnonpubliclibraryclassmembers