2023-11-07 08:46:56 +03:00
|
|
|
import org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode
|
|
|
|
|
2023-10-30 21:35:46 +03:00
|
|
|
plugins {
|
|
|
|
id("space.kscience.gradle.mpp")
|
|
|
|
application
|
|
|
|
}
|
|
|
|
|
|
|
|
kscience {
|
2023-11-05 10:18:26 +03:00
|
|
|
jvm{
|
|
|
|
withJava()
|
|
|
|
}
|
2023-10-30 21:35:46 +03:00
|
|
|
useKtor()
|
2023-11-05 09:47:58 +03:00
|
|
|
useContextReceivers()
|
2023-10-30 21:35:46 +03:00
|
|
|
dependencies {
|
|
|
|
api(projects.controlsVision)
|
|
|
|
}
|
|
|
|
jvmMain {
|
|
|
|
implementation("io.ktor:ktor-server-cio")
|
|
|
|
implementation(spclibs.logback.classic)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass.set("space.kscience.controls.demo.constructor.MainKt")
|
2023-11-07 08:46:56 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kotlin.explicitApi = ExplicitApiMode.Disabled
|