mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 16:27:06 +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
11
model/build.gradle.kts
Normal file
11
model/build.gradle.kts
Normal file
|
@ -0,0 +1,11 @@
|
|||
plugins {
|
||||
kotlin("multiplatform")
|
||||
kotlin("plugin.serialization")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvm { compilations.all { kotlinOptions.jvmTarget = "11" } }
|
||||
sourceSets["commonMain"].apply {
|
||||
dependencies { implementation(libs.kotlinx.serialization.core) }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue