diff options
Diffstat (limited to 'sw-common-model/build.gradle.kts')
-rw-r--r-- | sw-common-model/build.gradle.kts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw-common-model/build.gradle.kts b/sw-common-model/build.gradle.kts index d94559c5..a35ef0ff 100644 --- a/sw-common-model/build.gradle.kts +++ b/sw-common-model/build.gradle.kts @@ -1,8 +1,11 @@ plugins { kotlin("multiplatform") + id("org.jetbrains.kotlin.plugin.serialization") id("org.jlleitschuh.gradle.ktlint") } +val kotlinSerialization = "0.14.0" + kotlin { jvm() js { @@ -12,6 +15,7 @@ kotlin { val commonMain by getting { dependencies { implementation(kotlin("stdlib-common")) + implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime-common:$kotlinSerialization") } } val commonTest by getting { @@ -23,6 +27,7 @@ kotlin { val jvmMain by getting { dependencies { implementation(kotlin("stdlib-jdk8")) + implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime:$kotlinSerialization") } } val jvmTest by getting { @@ -34,6 +39,7 @@ kotlin { val jsMain by getting { dependencies { implementation(kotlin("stdlib-js")) + implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime-js:$kotlinSerialization") } } val jsTest by getting { |