diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 68dc4da..5b17226 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -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 { ; @@ -72,12 +70,6 @@ -dontwarn org.slf4j.impl.StaticLoggerBinder** -dontwarn org.slf4j.impl.StaticMDCBinder** -# - #