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")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(projects.controlsCore)
|
|
|
|
implementation(projects.magix.magixApi)
|
2021-11-02 22:21:13 +03:00
|
|
|
implementation(projects.magix.magixServer)
|
|
|
|
implementation(projects.magix.magixRsocket)
|
2023-02-25 18:15:19 +03:00
|
|
|
implementation(projects.magix.magixZmq)
|
2023-08-18 20:17:23 +03:00
|
|
|
implementation(projects.controlsMagix)
|
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
|
|
|
|
2024-03-19 21:48:26 +03:00
|
|
|
implementation(spclibs.ktor.client.cio)
|
2024-03-19 22:08:04 +03:00
|
|
|
implementation(spclibs.kotlinx.datetime)
|
|
|
|
implementation(libs.tornadofx)
|
|
|
|
implementation(libs.plotlykt.server)
|
|
|
|
implementation(libs.logback.classic)
|
|
|
|
implementation(libs.xodus.entity.store)
|
|
|
|
implementation(libs.xodus.environment)
|
|
|
|
implementation(libs.xodus.vfs)
|
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
|
|
|
}
|