123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- # Add project specific ProGuard rules here.
- # You can control the set of applied configuration files using the
- # proguardFiles setting in build.gradle.
- #
- # For more details, see
- # http://developer.android.com/guide/developing/tools/proguard.html
- # 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
- -keepattributes *Annotation*
- -keepclassmembers class * {
- # @org.greenrobot.eventbus.Subscribe<methods>;
- }
- -keep enum org.greenrobot.eventbus.ThreadMode { *; }
- # And if you use AsyncExecutor:
- -keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
- <init>(java.lang.Throwable);
- }
- #greenDao混淆处理
- -keepclassmembers class * extends org.greenrobot.greendao.AbstractDao {
- public static void dropTable(org.greenrobot.greendao.database.Database, boolean);
- public static void createTable(org.greenrobot.greendao.database.Database, boolean);
- }
- -keep class org.greenrobot.greendao.**{*;}
- -keepclassmembers class * extends org.greenrobot.greendao.AbstractDao { public static java.lang.String TABLENAME; }
- -keep class **$Properties{*;}
- #淘宝SDK混淆处理
- -keepattributes Signature
- -ignorewarnings
- -keep class javax.ws.rs.** { *; }
- -keep class com.alibaba.fastjson.** { *; }
- -dontwarn com.alibaba.fastjson.**
- -keep class sun.misc.Unsafe { *; }
- -dontwarn sun.misc.**
- -keep class com.taobao.** {*;}
- -keep class com.alibaba.** {*;}
- -dontwarn com.taobao.**
- -dontwarn com.alibaba.**
- -keep class com.ta.** {*;}
- -dontwarn com.ta.**
- -keep class org.json.** {*;}
- -keepattributes *Annotation*
- -keep interface mtopsdk.mtop.global.init.IMtopInitTask {*;}
- -keep class * implements mtopsdk.mtop.global.init.IMtopInitTask {*;}
- -keep class tv.danmaku.ijk.media.player.TaobaoMediaPlayer{*;}
- -keep class tv.danmaku.ijk.media.player.TaobaoMediaPlayer$*{*;}
- -keep class tv.taobao.media.player.TaobaoMediaPlayer{*;}
- -keep class tv.taobao.media.player.TaobaoMediaPlayer$*{*;}
- #友盟混淆配置
- -keep class com.umeng.** {*;}
- -keep class org.repackage.** {*;}
- -keep class com.uyumao.** { *; }
- -keepclassmembers class * {
- public <init> (org.json.JSONObject);
- }
- -keepclassmembers enum * {
- public static **[] values();
- public static ** valueOf(java.lang.String);
- }
- -keep public class [com.kx.liedouYX].R$*{
- public static final int *;
- }
- #retrofit2 混淆
- -dontwarn javax.annotation.**
- -dontwarn javax.inject.**
- # OkHttp3
- -dontwarn okhttp3.logging.**
- -keep class okhttp3.internal.**{*;}
- -dontwarn okio.**
- # Retrofit
- -dontwarn retrofit2.**
- -keep class retrofit2.** { *; }
- -keepattributes Signature
- -keepattributes Exceptions
- # RxJava RxAndroid
- -dontwarn sun.misc.**
- -keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* {
- long producerIndex;
- long consumerIndex;
- }
- -keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {
- rx.internal.util.atomic.LinkedQueueNode producerNode;
- }
- -keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef {
- rx.internal.util.atomic.LinkedQueueNode consumerNode;
- }
- # Gson
- -keep class com.google.gson.stream.** { *; }
- -keepattributes EnclosingMethod
- -keep class com.kx.liedouYX.entity.**{*;}#改成自己的实体类包
- -keep class com.kx.liedouYX.db.**{*;}#改成自己的实体类包
- #EventBus
- -keepattributes *Annotation*
- -keepclassmembers class ** {
- @org.greenrobot.eventbus.Subscribe <methods>;
- }
- -keep enum org.greenrobot.eventbus.ThreadMode { *; }
- # Only required if you use AsyncExecutor
- -keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
- <init>(java.lang.Throwable);
- }
- #弹窗插件库
- -dontwarn com.lxj.xpopup.widget.**
- -keep class com.lxj.xpopup.widget.**{*;}
|