mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 22:17:03 +05:30
- Move model classes to a standalone `model` Gradle module - Migrate from Moshi to kotlinx.serialization for multiplatform support
32 lines
1.1 KiB
Prolog
32 lines
1.1 KiB
Prolog
-keepattributes SourceFile,LineNumberTable
|
|
-keepattributes RuntimeVisibleAnnotations,
|
|
RuntimeVisibleParameterAnnotations,
|
|
RuntimeVisibleTypeAnnotations,
|
|
AnnotationDefault
|
|
-renamesourcefileattribute SourceFile
|
|
# Retain the generic signature of retrofit2.Call until added to Retrofit.
|
|
# Issue: https://github.com/square/retrofit/issues/3580.
|
|
# Pull request: https://github.com/square/retrofit/pull/3579.
|
|
-keep,allowobfuscation,allowshrinking class retrofit2.Call
|
|
|
|
-keep,allowobfuscation,allowshrinking class dev.msfjarvis.claw.android.** { *; }
|
|
|
|
-dontobfuscate
|
|
|
|
-keepattributes *Annotation*, InnerClasses
|
|
-dontnote kotlinx.serialization.AnnotationsKt
|
|
|
|
-keepclassmembers class kotlinx.serialization.json.** {
|
|
*** Companion;
|
|
}
|
|
-keepclasseswithmembers class kotlinx.serialization.json.** {
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
}
|
|
|
|
-keep,includedescriptorclasses class dev.msfjarvis.claw.model.**$$serializer { *; }
|
|
-keepclassmembers class dev.msfjarvis.claw.model.** {
|
|
*** Companion;
|
|
}
|
|
-keepclasseswithmembers class dev.msfjarvis.claw.model.** {
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
}
|