diff --git a/BankingClientModel/build.gradle.kts b/BankingClientModel/build.gradle.kts index ece2949b..cbd36ac8 100644 --- a/BankingClientModel/build.gradle.kts +++ b/BankingClientModel/build.gradle.kts @@ -5,6 +5,7 @@ import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl plugins { kotlin("multiplatform") kotlin("plugin.noarg") + kotlin("plugin.serialization") } @@ -74,6 +75,8 @@ kotlin { commonMain { dependencies { api("org.jetbrains.kotlinx:kotlinx-datetime:$kotlinxDateTimeVersion") + + compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-core:1.7.1") } } commonTest { diff --git a/settings.gradle.kts b/settings.gradle.kts index 777137d1..7a63c354 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -10,7 +10,7 @@ pluginManagement { plugins { kotlin("multiplatform") version kotlinVersion kotlin("jvm") version kotlinVersion -// kotlin("plugin.serialization") version kotlinVersion + kotlin("plugin.serialization") version kotlinVersion kotlin("plugin.allopen") version kotlinVersion kotlin("plugin.noarg") version kotlinVersion