2023-05-08 15:39:34 +03:00
|
|
|
plugins {
|
|
|
|
kotlin("jvm")
|
|
|
|
application
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven("https://repo.kotlin.link")
|
|
|
|
}
|
|
|
|
|
|
|
|
val ktorVersion: String by rootProject.extra
|
|
|
|
val rsocketVersion: String by rootProject.extra
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(projects.magix.magixServer)
|
2023-08-18 20:17:23 +03:00
|
|
|
implementation(projects.controlsMagix)
|
2023-05-08 15:39:34 +03:00
|
|
|
implementation(projects.magix.magixRsocket)
|
2023-05-09 22:50:35 +03:00
|
|
|
implementation(projects.magix.magixZmq)
|
2023-05-08 15:39:34 +03:00
|
|
|
|
|
|
|
implementation("io.ktor:ktor-client-cio:$ktorVersion")
|
2024-03-25 15:48:23 +03:00
|
|
|
implementation("space.kscience:plotlykt-server:0.7.1")
|
2023-05-08 15:39:34 +03:00
|
|
|
implementation(spclibs.logback.classic)
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin{
|
|
|
|
jvmToolchain(11)
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs = freeCompilerArgs + listOf("-Xjvm-default=all", "-Xopt-in=kotlin.RequiresOptIn")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
application {
|
2023-05-09 22:50:35 +03:00
|
|
|
mainClass.set("space.kscience.controls.demo.MassDeviceKt")
|
2023-05-08 15:39:34 +03:00
|
|
|
}
|