|
@@ -18,4 +18,116 @@
|
|
|
|
|
|
|
|
# If you keep the line number information, uncomment this to
|
|
# If you keep the line number information, uncomment this to
|
|
|
# hide the original source file name.
|
|
# hide the original source file name.
|
|
|
-#-renamesourcefileattribute SourceFile
|
|
|
|
|
|
|
+#-renamesourcefileattribute SourceFile
|
|
|
|
|
+-dontshrink
|
|
|
|
|
+
|
|
|
|
|
+## Log
|
|
|
|
|
+-assumenosideeffects class android.util.Log {
|
|
|
|
|
+ public static *** d(...);
|
|
|
|
|
+ public static *** v(...);
|
|
|
|
|
+ public static *** w(...);
|
|
|
|
|
+ public static *** i(...);
|
|
|
|
|
+ public static *** wtf(...);
|
|
|
|
|
+}
|
|
|
|
|
+-assumenosideeffects class com.atmob.common.logging.AtmobLog {
|
|
|
|
|
+ public static *** d(...);
|
|
|
|
|
+ public static *** v(...);
|
|
|
|
|
+ public static *** w(...);
|
|
|
|
|
+ public static *** i(...);
|
|
|
|
|
+ public static *** wtf(...);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+## native
|
|
|
|
|
+-keepclasseswithmembernames class * {
|
|
|
|
|
+ native <methods>;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+## res
|
|
|
|
|
+-keepclassmembers class **.R$* {
|
|
|
|
|
+ public static <fields>;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+## ViewBinding & DataBinding
|
|
|
|
|
+-keep class * implements androidx.viewbinding.ViewBinding {
|
|
|
|
|
+ public inflate(android.view.LayoutInflater);
|
|
|
|
|
+ public inflate(android.view.LayoutInflater, android.view.ViewGroup, boolean);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+# common config end
|
|
|
|
|
+
|
|
|
|
|
+# RxJava start
|
|
|
|
|
+-dontwarn java.util.concurrent.Flow*
|
|
|
|
|
+# RxJava end
|
|
|
|
|
+
|
|
|
|
|
+# Glide start
|
|
|
|
|
+-keep public class * implements com.bumptech.glide.module.GlideModule
|
|
|
|
|
+-keep class * extends com.bumptech.glide.module.AppGlideModule {
|
|
|
|
|
+ <init>(...);
|
|
|
|
|
+}
|
|
|
|
|
+-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
|
|
|
|
|
+ **[] $VALUES;
|
|
|
|
|
+ public *;
|
|
|
|
|
+}
|
|
|
|
|
+-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
|
|
|
|
|
+ *** rewind();
|
|
|
|
|
+}
|
|
|
|
|
+# Glide end
|
|
|
|
|
+
|
|
|
|
|
+# Turbo start
|
|
|
|
|
+-keep class com.plutus.common.turbo.beans.** {*;}
|
|
|
|
|
+# Turbo end
|
|
|
|
|
+
|
|
|
|
|
+# bugly start
|
|
|
|
|
+-dontwarn com.tencent.bugly.**
|
|
|
|
|
+-keep public class com.tencent.bugly.**{*;}
|
|
|
|
|
+# bugly end
|
|
|
|
|
+
|
|
|
|
|
+# Umeng start
|
|
|
|
|
+-keep class com.umeng.** {*;}
|
|
|
|
|
+-keep class org.repackage.** {*;}
|
|
|
|
|
+-keepclassmembers class * {
|
|
|
|
|
+ public <init> (org.json.JSONObject);
|
|
|
|
|
+}
|
|
|
|
|
+-keepclassmembers enum * {
|
|
|
|
|
+ public static **[] values();
|
|
|
|
|
+ public static ** valueOf(java.lang.String);
|
|
|
|
|
+}
|
|
|
|
|
+# Umeng end
|
|
|
|
|
+
|
|
|
|
|
+#oaid miitmdid start
|
|
|
|
|
+-keep class com.bun.miitmdid.core.** {*;}
|
|
|
|
|
+-keep class com.bun.lib.**{*;}
|
|
|
|
|
+-keep class XI.CA.XI.**{*;}
|
|
|
|
|
+-keep class XI.K0.XI.**{*;}
|
|
|
|
|
+-keep class XI.XI.K0.**{*;}
|
|
|
|
|
+-keep class XI.vs.K0.**{*;}
|
|
|
|
|
+-keep class XI.xo.XI.XI.**{*;}
|
|
|
|
|
+-keep class com.asus.msa.SupplementaryDID.**{*;}
|
|
|
|
|
+-keep class com.asus.msa.sdid.**{*;}
|
|
|
|
|
+-keep class com.bun.lib.**{*;}
|
|
|
|
|
+-keep class com.bun.miitmdid.**{*;}
|
|
|
|
|
+-keep class com.huawei.hms.ads.identifier.**{*;}
|
|
|
|
|
+-keep class com.samsung.android.deviceidservice.**{*;}
|
|
|
|
|
+-keep class org.json.**{*;}
|
|
|
|
|
+-keep public class com.netease.nis.sdkwrapper.Utils {
|
|
|
|
|
+public <methods>;
|
|
|
|
|
+}
|
|
|
|
|
+#oaid miitmdid end
|
|
|
|
|
+
|
|
|
|
|
+# AMAP start
|
|
|
|
|
+-keep class com.amap.api.maps.**{*;}
|
|
|
|
|
+-keep class com.autonavi.amap.mapcore.*{*;}
|
|
|
|
|
+-keep class com.amap.api.trace.**{*;}
|
|
|
|
|
+-keep class com.amap.api.maps.**{*;}
|
|
|
|
|
+-keep class com.autonavi.**{*;}
|
|
|
|
|
+-keep class com.amap.api.trace.**{*;}
|
|
|
|
|
+-keep class com.amap.api.location.**{*;}
|
|
|
|
|
+-keep class com.amap.api.fence.**{*;}
|
|
|
|
|
+-keep class com.loc.**{*;}
|
|
|
|
|
+-keep class com.autonavi.aps.amapapi.model.**{*;}
|
|
|
|
|
+-keep class com.amap.api.services.**{*;}
|
|
|
|
|
+-keep class com.amap.api.maps2d.**{*;}
|
|
|
|
|
+-keep class com.amap.api.mapcore2d.**{*;}
|
|
|
|
|
+-keep class com.amap.api.navi.**{*;}
|
|
|
|
|
+-keep class com.autonavi.**{*;}
|
|
|
|
|
+# AMAP end
|