gkd/wasm_matches/build.gradle.kts

30 lines
592 B
Plaintext
Raw Normal View History

2024-05-24 21:23:13 +08:00
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2024-03-26 17:29:00 +08:00
plugins {
alias(libs.plugins.kotlin.multiplatform)
}
kotlin {
jvm {
2024-05-24 21:23:13 +08:00
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
2024-03-26 17:29:00 +08:00
}
}
wasmJs {
binaries.executable()
useEsModules()
generateTypeScriptDefinitions()
browser {}
}
sourceSets {
all {
languageSettings.optIn("kotlin.js.ExperimentalJsExport")
}
2024-05-24 21:23:13 +08:00
commonMain {
dependencies {
implementation(libs.kotlin.stdlib.common)
}
}
2024-03-26 17:29:00 +08:00
}
}