File tree Expand file tree Collapse file tree 3 files changed +0
-69
lines changed
Expand file tree Collapse file tree 3 files changed +0
-69
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- # Keep `Companion` object fields of serializable classes.
2- # This avoids serializer lookup through `getDeclaredClasses` as done for named companion objects.
3- -if @kotlinx.serialization.Serializable class **
4- -keepclassmembers class <1> {
5- static <1>$Companion Companion;
6- }
7-
8- # Keep `serializer()` on companion objects (both default and named) of serializable classes.
9- -if @kotlinx.serialization.Serializable class ** {
10- static **$* *;
11- }
12- -keepclassmembers class <2>$<3> {
13- kotlinx.serialization.KSerializer serializer(...);
14- }
15-
16- # Keep `INSTANCE.serializer()` of serializable objects.
17- -if @kotlinx.serialization.Serializable class ** {
18- public static ** INSTANCE;
19- }
20- -keepclassmembers class <1> {
21- public static <1> INSTANCE;
22- kotlinx.serialization.KSerializer serializer(...);
23- }
24-
25- # @Serializable and @Polymorphic are used at runtime for polymorphic serialization.
26- -keepattributes RuntimeVisibleAnnotations,AnnotationDefault
27-
281-dontwarn org.bouncycastle.jsse.BCSSLParameters
292-dontwarn org.bouncycastle.jsse.BCSSLSocket
303-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments