mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-16 19:57:15 +08:00
30 lines
592 B
Plaintext
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)
|
|
}
|
|
}
|
|
}
|
|
}
|