From 0b4694ef50b05dee68c01d7017dd9d040a9ed3c5 Mon Sep 17 00:00:00 2001 From: stashymane Date: Thu, 21 Nov 2024 12:03:58 +0200 Subject: [PATCH] more targets --- model/build.gradle.kts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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)