Created
June 17, 2014 10:16
-
-
Save s1rius/fe9193856d1ffc422589 to your computer and use it in GitHub Desktop.
Proguard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-optimizationpasses 5 | |
-dontusemixedcaseclassnames | |
-dontskipnonpubliclibraryclasses | |
-dontpreverify | |
-verbose | |
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* | |
-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 * extends android.app.backup.BackupAgentHelper | |
-keep public class * extends android.preference.Preference | |
-keep public class com.android.vending.licensing.ILicensingService | |
-keepclasseswithmembernames class * { | |
native <methods>; | |
} | |
-keepclasseswithmembers class * { | |
public <init>(android.content.Context, android.util.AttributeSet); | |
} | |
-keepclasseswithmembers class * { | |
public <init>(android.content.Context, android.util.AttributeSet, int); | |
} | |
-keepclassmembers class * extends android.app.Activity { | |
public void *(android.view.View); | |
} | |
-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>; | |
} | |
# The support library contains references to newer platform versions. | |
# Don't warn about those in case this app is linking against an older | |
# platform version. We know about them, and they are safe. | |
-dontwarn android.support.** | |
# Gson specific classes | |
-keep class sun.misc.Unsafe { *; } | |
-keep class com.google.gson.stream.** { *; } | |
-keep class com.google.gson.examples.android.model.** { *; } | |
-keepattributes Signature | |
-keepattributes *Annotation* | |
# slidingmenu | |
-keep class com.jeremyfeinstein.** { *; } | |
# pulltorefresh | |
-keep class uk.co.senab.actionbarpulltorefresh.library.** { *; } | |
# volley | |
-keep class com.android.volley.** { *; } | |
# OkHttp | |
-keepnames class com.levelup.http.okhttp.** { *; } | |
-keepnames enum com.levelup.http.okhttp.** { *; } | |
-keepnames interface com.levelup.http.okhttp.** { *; } | |
-keepnames class org.codehaus.mojo.** { *; } | |
-keepnames enum org.codehaus.mojo.** { *; } | |
-keepnames interface org.codehaus.mojo.** { *; } | |
-keepnames class com.squareup.okhttp.** { *; } | |
-keepnames enum com.squareup.okhttp.** { *; } | |
-keepnames interface com.squareup.okhttp.** { *; } | |
-dontwarn com.sqareup.okhttp.** | |
-dontwarn com.squareup.okhttp.internal.http.* | |
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement | |
# EventBus | |
-keepclassmembers class ** { | |
public void onEvent*(**); | |
} | |
# keep line number | |
-keepattributes SourceFile,LineNumberTable | |
# 个推 | |
-dontwarn com.igexin.** | |
-keep class com.igexin.** { *; } | |
# Umeng | |
-dontwarn com.umeng.** | |
-libraryjars libs/umeng-update-v2.4.2.jar | |
-libraryjars libs/umeng-fb-v4.3.2.jar | |
-libraryjars libs/umeng-analytics-v5.2.3.jar | |
-keep class com.umeng.** { *; } | |
-keep public class * extends com.umeng.** | |
# Umeng case Exception | |
# ResClass is not initialized. Please make sure you have added neccessary resources | |
-keep public class com.eno.android.**.R$*{;} | |
-keep public class com.eno.android.**{;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment