mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-12-25 11:55:11 +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)
|
|
}
|
|
}
|
|
}
|
|
}
|