ClashMetaForAndroid/core/consumer-rules.pro

19 lines
557 B
Prolog
Raw Normal View History

2021-05-15 00:51:08 +08:00
-keep class kotlinx.coroutines.CompletableDeferred {
*;
}
-keep class kotlin.Unit {
*;
}
-keepattributes *Annotation*, InnerClasses
-dontnote kotlinx.serialization.AnnotationsKt # core serialization annotations
# kotlinx-serialization-json specific. Add this if you have java.lang.NoClassDefFoundError kotlinx.serialization.json.JsonObjectSerializer
-keepclassmembers class kotlinx.serialization.json.** {
*** Companion;
}
-keepclasseswithmembers class kotlinx.serialization.json.** {
kotlinx.serialization.KSerializer serializer(...);
}