perf: proguard rules
Some checks failed
Build-Apk / build (push) Has been cancelled

This commit is contained in:
lisonge 2024-10-22 22:10:13 +08:00
parent 9e6991452e
commit ac51aae4ab

View File

@ -21,7 +21,6 @@
# self
-keep class li.songe.**{*;}
-keep interface li.songe.**{*;}
-keep class com.hjq.toast.** {*;}
-keepattributes *Annotation*,Signature,InnerClasses,EnclosingMethod
@ -48,13 +47,12 @@
# https://github.com/ktorio/ktor-documentation/blob/2.3.6/codeSnippets/snippets/proguard/proguard.pro
-keep class io.ktor.server.cio.EngineMain { *; }
-keep class io.ktor.server.config.HoconConfigLoader { *; }
-keep class kotlin.reflect.jvm.internal.** { *; }
-keep class kotlin.text.RegexOption { *; }
-keep class io.ktor.serialization.kotlinx.json.KotlinxSerializationJsonExtensionProvider { *; }
# kotlin
-keep class kotlin.** { *; }
-keep class kotlin.Metadata { *; }
-keep class kotlin.text.RegexOption { *; }
-dontwarn kotlin.**
-keepclassmembers class **$WhenMappings {
<fields>;
@ -72,12 +70,6 @@
-dontwarn org.slf4j.impl.StaticLoggerBinder**
-dontwarn org.slf4j.impl.StaticMDCBinder**
# <bugly-
# https://bugly.qq.com/docs/user-guide/instruction-manual-android/
-dontwarn com.tencent.bugly.**
-keep public class com.tencent.bugly.**{*;}
# -bugly>
# <mmkv-
# https://github.com/Tencent/MMKV/blob/master/Android/MMKV/mmkv/proguard-rules.pro
-keepclasseswithmembers,includedescriptorclasses class com.tencent.mmkv.** {