2020-06-05 21:07:23 +03:00
|
|
|
plugins {
|
2020-08-04 16:13:53 +03:00
|
|
|
kotlin("jvm")
|
2022-05-23 23:30:38 +03:00
|
|
|
id("org.openjfx.javafxplugin") version "0.0.10"
|
2020-07-19 20:37:44 +03:00
|
|
|
application
|
2020-06-05 21:07:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-10-23 19:44:13 +03:00
|
|
|
repositories {
|
2021-04-05 17:41:36 +03:00
|
|
|
mavenCentral()
|
|
|
|
maven("https://repo.kotlin.link")
|
2020-06-05 21:07:23 +03:00
|
|
|
}
|
|
|
|
|
2021-08-02 16:42:19 +03:00
|
|
|
val ktorVersion: String by rootProject.extra
|
|
|
|
val rsocketVersion: String by rootProject.extra
|
|
|
|
|
2021-10-23 19:44:13 +03:00
|
|
|
dependencies {
|
2021-06-22 17:37:22 +03:00
|
|
|
implementation(projects.controlsCore)
|
|
|
|
//implementation(projects.controlsServer)
|
|
|
|
implementation(projects.magix.magixServer)
|
|
|
|
implementation(projects.controlsMagixClient)
|
|
|
|
implementation(projects.magix.magixRsocket)
|
2021-08-02 16:42:19 +03:00
|
|
|
implementation(projects.magix.magixZmq)
|
2021-09-29 10:43:19 +03:00
|
|
|
implementation(projects.controlsOpcua)
|
|
|
|
|
2021-08-02 16:42:19 +03:00
|
|
|
implementation("io.ktor:ktor-client-cio:$ktorVersion")
|
2020-06-06 21:48:38 +03:00
|
|
|
implementation("no.tornado:tornadofx:1.7.20")
|
2022-05-23 23:30:38 +03:00
|
|
|
implementation("space.kscience:plotlykt-server:0.5.2-dev-2")
|
|
|
|
// implementation("com.github.Ricky12Awesome:json-schema-serialization:0.6.6")
|
|
|
|
implementation("ch.qos.logback:logback-classic:1.2.11")
|
2020-06-05 21:07:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
2020-06-07 21:16:19 +03:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "11"
|
2021-10-23 19:44:13 +03:00
|
|
|
freeCompilerArgs = freeCompilerArgs + listOf("-Xjvm-default=all", "-Xopt-in=kotlin.RequiresOptIn")
|
2020-06-07 21:16:19 +03:00
|
|
|
}
|
2020-06-06 21:48:38 +03:00
|
|
|
}
|
|
|
|
|
2021-10-23 19:44:13 +03:00
|
|
|
javafx {
|
2020-06-06 21:48:38 +03:00
|
|
|
version = "14"
|
|
|
|
modules("javafx.controls")
|
2020-06-09 17:36:34 +03:00
|
|
|
}
|
|
|
|
|
2021-10-23 19:44:13 +03:00
|
|
|
application {
|
2021-06-28 20:58:27 +03:00
|
|
|
mainClass.set("ru.mipt.npm.controls.demo.DemoControllerViewKt")
|
2020-06-05 21:07:23 +03:00
|
|
|
}
|