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

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 .kotlin
#So we don't accidentally commit our private keys #So we don't accidentally commit our private keys
*.gpg *.gpg
/kotlin-js-store/yarn.lock

View File

@ -1,5 +1,6 @@
import com.vanniktech.maven.publish.SonatypeHost import com.vanniktech.maven.publish.SonatypeHost
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.dsl.JvmTarget import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins { plugins {
@ -24,6 +25,15 @@ kotlin {
iosArm64() iosArm64()
iosSimulatorArm64() iosSimulatorArm64()
linuxX64() linuxX64()
mingwX64()
@OptIn(ExperimentalWasmDsl::class)
wasmWasi {
nodejs()
}
js {
browser()
nodejs()
}
sourceSets { sourceSets {
val commonMain by getting { val commonMain by getting {