# Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in /Users/wanglei/Library/Android/sdk/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gradle. # # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html # Add any project specific keep options here: # If your project uses WebView with JS, uncomment the following # and specify the fully qualified class name to the JavaScript interface # class: #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; #} # Uncomment this to preserve the line number information for # debugging stack traces. #-keepattributes SourceFile,LineNumberTable # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile -optimizationpasses 5 -dontskipnonpubliclibraryclasses -useuniqueclassmembernames -dontpreverify -ignorewarnings -verbose -keepattributes *Annotation* -keep public class * extends android.app.Service -keep public class * extends android.content.BroadcastReceiver -keepattributes SourceFile,LineNumberTable -keepattributes Exceptions,InnerClasses,Signature,... # 保持 native 方法不被混淆 -keepclasseswithmembernames class * { native <methods>; } -keep class * extends com.haha.core.what { *; } -keep class com.haha.action.BaseAction { public <methods>; public <fields>; protected <fields>; protected <methods>; } -keep class * extends com.haha.action.BaseAction { public <methods>; public <fields>; protected <fields>; protected <methods>; } -keep class com.haha.action.BaseInterpolator { public <methods>; public <fields>; protected <fields>; protected <methods>; } -keep class * extends com.haha.action.BaseInterpolator { public <methods>; public <fields>; protected <fields>; protected <methods>; } -keep class com.haha.action.manager.GLCachePoolsManager { public <methods>; public <fields>; protected <fields>; protected <methods>; }