kotlin-client.jvm-common.infrastructure.proguard-rules.pro.mustache Maven / Gradle / Ivy
The newest version!
-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(...); }
# project specific.
-keep,includedescriptorclasses class {{modelPackage}}.**$$serializer { *; }
-keepclassmembers class {{modelPackage}}.** { *** Companion; }
-keepclasseswithmembers class {{modelPackage}}.** { kotlinx.serialization.KSerializer serializer(...); }
© 2015 - 2024 Weber Informatics LLC | Privacy Policy