gkd/wasm_matches/build.gradle.kts
2024-05-24 21:23:13 +08:00

30 lines
592 B
Plaintext

import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
alias(libs.plugins.kotlin.multiplatform)
}
kotlin {
jvm {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
}
}
wasmJs {
binaries.executable()
useEsModules()
generateTypeScriptDefinitions()
browser {}
}
sourceSets {
all {
languageSettings.optIn("kotlin.js.ExperimentalJsExport")
}
commonMain {
dependencies {
implementation(libs.kotlin.stdlib.common)
}
}
}
}