plugins { kotlin("jvm") id("org.openjfx.javafxplugin") version "0.0.10" application } repositories { mavenCentral() maven("https://repo.kotlin.link") } val ktorVersion: String by rootProject.extra val rsocketVersion: String by rootProject.extra dependencies { implementation(projects.controlsCore) //implementation(projects.controlsServer) implementation(projects.magix.magixServer) implementation(projects.controlsMagixClient) implementation(projects.magix.magixRsocket) implementation(projects.magix.magixZmq) implementation(projects.controlsOpcua) implementation("io.ktor:ktor-client-cio:$ktorVersion") implementation("no.tornado:tornadofx:1.7.20") 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") } tasks.withType().configureEach { kotlinOptions { jvmTarget = "11" freeCompilerArgs = freeCompilerArgs + listOf("-Xjvm-default=all", "-Xopt-in=kotlin.RequiresOptIn") } } javafx { version = "14" modules("javafx.controls") } application { mainClass.set("ru.mipt.npm.controls.demo.DemoControllerViewKt") }