mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 17:37:05 +05:30
all: refactor model classes and serialization
- Move model classes to a standalone `model` Gradle module - Migrate from Moshi to kotlinx.serialization for multiplatform support
This commit is contained in:
parent
76c46b4229
commit
096d2882e2
24 changed files with 155 additions and 137 deletions
18
android/proguard-rules.pro
vendored
18
android/proguard-rules.pro
vendored
|
@ -12,3 +12,21 @@
|
|||
-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(...);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue