Files
vst-chip/common/build.gradle.kts
rnentjes 92e68cdc47 Refactor build and server setup
Introduced a versioning task in a new `version.gradle.kts` file to auto-generate version properties. The main server setup in `Main.kt` was refactored to streamline server initialization using `UndertowServer`. Dependencies and configurations in `build.gradle.kts` were updated to deploy effectively, including improved yarn lock handling and symbolic link integration.
2024-12-08 13:41:00 +01:00

37 lines
648 B
Kotlin

@file:OptIn(ExperimentalKotlinGradlePluginApi::class)
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
buildscript {
apply(from = "../common.gradle.kts")
}
plugins {
kotlin("multiplatform")
}
kotlin {
js {
compilerOptions {
target.set("es2015")
}
browser()
}
/* @OptIn(ExperimentalWasmDsl::class)
wasmJs {
browser()
mavenPublication {
groupId = group as String
pom { name = "${project.name}-wasm-js" }
}
}*/
jvm()
sourceSets {
val commonMain by getting
val jsMain by getting
val jvmMain by getting
//val wasmJsMain by getting
}
}