controls-kt/demo/all-things/build.gradle.kts

50 lines
1.3 KiB
Plaintext
Raw Normal View History

2020-06-05 21:07:23 +03:00
plugins {
2020-08-04 16:13:53 +03:00
kotlin("jvm")
2023-02-18 20:05:26 +03:00
id("org.openjfx.javafxplugin") version "0.0.13"
2020-07-19 20:37:44 +03:00
application
2020-06-05 21:07:23 +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
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)
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")
2023-05-03 11:05:54 +03:00
implementation("space.kscience:plotlykt-server:0.5.3")
2022-05-23 23:30:38 +03:00
// implementation("com.github.Ricky12Awesome:json-schema-serialization:0.6.6")
2023-05-03 11:05:54 +03:00
implementation(spclibs.logback.classic)
2020-06-05 21:07:23 +03:00
}
2023-04-15 20:00:47 +03:00
kotlin{
jvmToolchain(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 {
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
}
javafx {
2023-02-18 20:05:26 +03:00
version = "17"
2020-06-06 21:48:38 +03:00
modules("javafx.controls")
2020-06-09 17:36:34 +03:00
}
application {
2022-08-02 09:10:02 +03:00
mainClass.set("space.kscience.controls.demo.DemoControllerViewKt")
2020-06-05 21:07:23 +03:00
}