2022-06-05 19:06:50 +03:00
|
|
|
plugins {
|
|
|
|
kotlin("jvm")
|
|
|
|
application
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven("https://repo.kotlin.link")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(projects.magix.magixServer)
|
|
|
|
implementation(projects.magix.magixRsocket)
|
|
|
|
implementation(projects.magix.magixZmq)
|
2024-03-19 21:48:26 +03:00
|
|
|
implementation(spclibs.ktor.client.cio)
|
2022-06-05 19:06:50 +03:00
|
|
|
|
2024-03-19 22:08:04 +03:00
|
|
|
implementation(libs.logback.classic)
|
2022-06-05 19:06:50 +03:00
|
|
|
}
|
2023-04-15 20:00:47 +03:00
|
|
|
kotlin{
|
|
|
|
jvmToolchain(11)
|
|
|
|
}
|
2022-06-05 19:06:50 +03:00
|
|
|
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs = freeCompilerArgs + listOf("-Xjvm-default=all", "-Xopt-in=kotlin.RequiresOptIn")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
2022-08-02 09:10:02 +03:00
|
|
|
mainClass.set("space.kscience.controls.demo.echo.MainKt")
|
2022-06-05 19:06:50 +03:00
|
|
|
}
|