ビルド対象のプラットフォームを追加

This commit is contained in:
usbharu 2024-11-15 14:22:36 +09:00
parent 05294199a6
commit 8beae5e426
Signed by: usbharu
GPG Key ID: 95CBCF7046307B77
2 changed files with 12 additions and 1 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ xcuserdata
.kotlin
#So we don't accidentally commit our private keys
*.gpg
/kotlin-js-store/yarn.lock

View File

@ -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 {