Skip to content

Commit

Permalink
Modify proguard.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinea committed Feb 25, 2014
1 parent 7499166 commit 053d648
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions proguard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,6 @@
java.lang.Object readResolve();
}

# Please specify classes to be kept explicitly in your package's configuration.
# -keep class * extends android.app.Activity
# -keep class * extends android.view.View
# -keep class * extends android.app.Service
# -keep class * extends android.content.BroadcastReceiver
# -keep class * extends android.content.ContentProvider
# -keep class * extends android.preference.Preference
# -keep class * extends android.app.BackupAgent

-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
Expand All @@ -99,12 +91,15 @@
-dontwarn android.support.**
-keep class android.support.v4.** { *; }
-keep interface android.support.v4.app.** { *; }
-keep class cn.trinea.android.common.** { *; }
-keep class cn.trinea.android.view.** { *; }
-keepattributes *Annotation*

-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers

-dontwarn com.google.ads.**
-keep class com.google.** {*;}
-keep class com.google.** {*;}

# Keep cn.trinea
-keep class cn.trinea.android.** { *; }
-keepclassmembers class cn.trinea.android.** { *; }
-dontwarn cn.trinea.android.**

0 comments on commit 053d648

Please sign in to comment.