27 lines
520 B
Plaintext
27 lines
520 B
Plaintext
import org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode
|
|
|
|
plugins {
|
|
id("space.kscience.gradle.mpp")
|
|
application
|
|
}
|
|
|
|
kscience {
|
|
jvm{
|
|
withJava()
|
|
}
|
|
useKtor()
|
|
useContextReceivers()
|
|
dependencies {
|
|
api(projects.controlsVision)
|
|
}
|
|
jvmMain {
|
|
implementation("io.ktor:ktor-server-cio")
|
|
implementation(spclibs.logback.classic)
|
|
}
|
|
}
|
|
|
|
application {
|
|
mainClass.set("space.kscience.controls.demo.constructor.MainKt")
|
|
}
|
|
|
|
kotlin.explicitApi = ExplicitApiMode.Disabled |