controls-kt/demo/car/build.gradle.kts

55 lines
1.7 KiB
Plaintext
Raw Normal View History

2021-10-30 13:08:45 +03:00
plugins {
kotlin("jvm")
2022-06-05 12:26:34 +03:00
id("org.openjfx.javafxplugin") version "0.0.10"
2021-10-30 13:08:45 +03:00
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.magix.magixApi)
implementation(projects.magix.magixServer)
implementation(projects.magix.magixRsocket)
2023-02-25 18:15:19 +03:00
implementation(projects.magix.magixZmq)
implementation(projects.controlsMagixClient)
2022-06-05 12:26:34 +03:00
implementation(projects.controlsStorage.controlsXodus)
implementation(projects.magix.magixStorage.magixStorageXodus)
// implementation(projects.controlsMongo)
2021-10-30 13:08:45 +03:00
2021-11-04 15:52:49 +03:00
implementation("io.ktor:ktor-client-cio:$ktorVersion")
2021-10-30 13:08:45 +03:00
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.3.1")
implementation("no.tornado:tornadofx:1.7.20")
2022-05-23 23:30:38 +03:00
implementation("space.kscience:plotlykt-server:0.5.0")
implementation("ch.qos.logback:logback-classic:1.2.11")
2021-11-15 16:23:35 +03:00
implementation("org.jetbrains.xodus:xodus-entity-store:1.3.232")
implementation("org.jetbrains.xodus:xodus-environment:1.3.232")
implementation("org.jetbrains.xodus:xodus-vfs:1.3.232")
2022-06-05 12:26:34 +03:00
// implementation("org.litote.kmongo:kmongo-coroutine-serialization:4.4.0")
2021-10-30 13:08:45 +03:00
}
2023-04-15 20:00:47 +03:00
kotlin{
jvmToolchain(11)
}
2021-10-30 13:08:45 +03:00
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
freeCompilerArgs = freeCompilerArgs + listOf("-Xjvm-default=all", "-Xopt-in=kotlin.RequiresOptIn")
}
}
javafx {
version = "14"
modules("javafx.controls")
}
2022-05-23 23:30:38 +03:00
application {
2022-08-02 09:10:02 +03:00
mainClass.set("space.kscience.controls.demo.car.VirtualCarControllerKt")
2022-05-23 23:30:38 +03:00
}