mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 04:07:03 +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
|
@ -1,14 +1,12 @@
|
|||
plugins {
|
||||
kotlin("jvm")
|
||||
id("com.google.devtools.ksp") version "1.5.31-1.0.0"
|
||||
}
|
||||
plugins { kotlin("jvm") }
|
||||
|
||||
dependencies {
|
||||
api(projects.model)
|
||||
api(libs.retrofit.lib)
|
||||
ksp(libs.moshix.ksp)
|
||||
implementation(libs.moshi.lib)
|
||||
implementation(libs.retrofit.moshiConverter) { exclude(group = "com.squareup.moshi") }
|
||||
implementation(libs.kotlinx.serialization.core)
|
||||
testImplementation(libs.kotlinx.serialization.json)
|
||||
testImplementation(libs.kotlin.coroutines.core)
|
||||
testImplementation(kotlin("test-junit"))
|
||||
testImplementation(libs.retrofit.kotlinxSerializationConverter) { isTransitive = false }
|
||||
testImplementation(libs.testing.mockWebServer)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue