gkd/wasm_matches/build.gradle.kts
2024-03-26 17:29:00 +08:00

26 lines
543 B
Plaintext

plugins {
alias(libs.plugins.kotlin.multiplatform)
}
kotlin {
jvm {
compilations.all {
kotlinOptions.jvmTarget = JavaVersion.VERSION_17.majorVersion
}
}
wasmJs {
binaries.executable()
useEsModules()
generateTypeScriptDefinitions()
browser {}
}
sourceSets {
all {
languageSettings.optIn("kotlin.js.ExperimentalJsExport")
}
}
sourceSets["commonMain"].dependencies {
implementation(libs.kotlin.stdlib.common)
}
}