2023-10-30 21:35:46 +03:00
|
|
|
plugins {
|
|
|
|
id("space.kscience.gradle.mpp")
|
|
|
|
application
|
|
|
|
}
|
|
|
|
|
|
|
|
kscience {
|
2023-10-30 21:47:41 +03:00
|
|
|
fullStack("js/constructor.js", jvmConfig = {withJava()})
|
2023-10-30 21:35:46 +03:00
|
|
|
useKtor()
|
|
|
|
dependencies {
|
|
|
|
api(projects.controlsVision)
|
|
|
|
}
|
|
|
|
jvmMain {
|
|
|
|
implementation("io.ktor:ktor-server-cio")
|
|
|
|
implementation(spclibs.logback.classic)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass.set("space.kscience.controls.demo.constructor.MainKt")
|
|
|
|
}
|