From 8beae5e426e96295fa6503c7eac028eb65492d62 Mon Sep 17 00:00:00 2001 From: usbharu Date: Fri, 15 Nov 2024 14:22:36 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=93=E3=83=AB=E3=83=89=E5=AF=BE=E8=B1=A1?= =?UTF-8?q?=E3=81=AE=E3=83=97=E3=83=A9=E3=83=83=E3=83=88=E3=83=95=E3=82=A9?= =?UTF-8?q?=E3=83=BC=E3=83=A0=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- library/build.gradle.kts | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 868e811..70c793e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ local.properties xcuserdata .kotlin #So we don't accidentally commit our private keys -*.gpg \ No newline at end of file +*.gpg +/kotlin-js-store/yarn.lock diff --git a/library/build.gradle.kts b/library/build.gradle.kts index 94c8cb4..b327332 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -1,5 +1,6 @@ import com.vanniktech.maven.publish.SonatypeHost import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi +import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { @@ -24,6 +25,15 @@ kotlin { iosArm64() iosSimulatorArm64() linuxX64() + mingwX64() + @OptIn(ExperimentalWasmDsl::class) + wasmWasi { + nodejs() + } + js { + browser() + nodejs() + } sourceSets { val commonMain by getting {