This commit is contained in:
Horis
2025-04-06 10:59:56 +08:00
parent 7520d1c0e2
commit 309b789244
2 changed files with 21 additions and 2 deletions
+11 -2
View File
@@ -48,6 +48,7 @@
# 这个过滤器是谷歌推荐的算法,一般不做更改
-optimizations !code/simplification/cast,!field/*,!class/merging/*
-repackageclasses
#############################################
#
@@ -193,13 +194,11 @@ cn.hutool.core.**{*;}
-dontwarn com.hwangjr.rxbus.**
-dontwarn okhttp3.**
-dontwarn org.conscrypt.**
-dontwarn com.jeremyliao.liveeventbus.**
-dontwarn org.commonmark.ext.gfm.**
-keep,allowobfuscation,allowshrinking class com.google.gson.** { *; }
-keep,allowobfuscation,allowshrinking class com.ke.gson.** { *; }
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken
-keep class com.jeremyliao.liveeventbus.** { *; }
-keep class okhttp3.**{*;}
-keep class okio.**{*;}
-keep class com.hwangjr.rxbus.**{*;}
@@ -211,6 +210,16 @@ cn.hutool.core.**{*;}
-keep class freemarker.**{*;}
-keep class com.gyf.barlibrary.** {*;}
# LiveEventBus
-keep class androidx.lifecycle.LiveData {
*** mObservers;
*** mActiveCount;
}
-keep class androidx.arch.core.internal.SafeIterableMap {
*** size();
*** putIfAbsent(...);
}
## JSOUP
-keep class org.jsoup.**{*;}
-keep class **.xpath.**{*;}