18 lines
539 B
Prolog
18 lines
539 B
Prolog
# Retrofit
|
|
-keepattributes Signature
|
|
-keepattributes *Annotation*
|
|
-keep class retrofit2.** { *; }
|
|
-keepclasseswithmembers class * {
|
|
@retrofit2.http.* <methods>;
|
|
}
|
|
|
|
# kotlinx.serialization
|
|
-keepattributes *Annotation*, InnerClasses
|
|
-dontnote kotlinx.serialization.AnnotationsKt
|
|
-keep,includedescriptorclasses class com.ltadeu6.matrix.**$$serializer { *; }
|
|
-keepclassmembers class com.ltadeu6.matrix.** {
|
|
*** Companion;
|
|
}
|
|
-keepclasseswithmembers class com.ltadeu6.matrix.** {
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
}
|