diff --git a/model/build.gradle.kts b/model/build.gradle.kts index 2b60840..e1b88c3 100644 --- a/model/build.gradle.kts +++ b/model/build.gradle.kts @@ -1,3 +1,7 @@ +@file:OptIn(ExperimentalWasmDsl::class) + +import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl + plugins { alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.kotlinx.serialization) @@ -11,13 +15,23 @@ kotlin { jvm { jvmToolchain(11) } + mingwX64() + linuxX64() linuxArm64() + iosX64() iosArm64() iosSimulatorArm64() + js { + browser() + nodejs() + } + wasmJs() + wasmWasi() + sourceSets { commonMain.dependencies { implementation(libs.kotlinx.serialization.json)