2020-06-05 21:07:23 +03:00
|
|
|
plugins {
|
2020-08-04 16:13:53 +03:00
|
|
|
kotlin("jvm")
|
2024-05-11 17:56:28 +03:00
|
|
|
alias(spclibs.plugins.compose)
|
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-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)
|
2023-08-18 20:17:23 +03:00
|
|
|
implementation(projects.controlsMagix)
|
2021-06-22 17:37:22 +03:00
|
|
|
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)
|
|
|
|
|
2024-03-19 21:48:26 +03:00
|
|
|
implementation(spclibs.ktor.client.cio)
|
2024-03-19 22:08:04 +03:00
|
|
|
implementation(libs.plotlykt.server)
|
2022-05-23 23:30:38 +03:00
|
|
|
// implementation("com.github.Ricky12Awesome:json-schema-serialization:0.6.6")
|
2024-05-11 17:56:28 +03:00
|
|
|
|
|
|
|
implementation(compose.runtime)
|
|
|
|
implementation(compose.desktop.currentOs)
|
|
|
|
implementation(compose.material3)
|
|
|
|
// implementation("org.pushing-pixels:aurora-window:1.3.0")
|
|
|
|
// implementation("org.pushing-pixels:aurora-component:1.3.0")
|
|
|
|
// implementation("org.pushing-pixels:aurora-theming:1.3.0")
|
|
|
|
|
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{
|
2024-05-11 17:56:28 +03:00
|
|
|
jvmToolchain(17)
|
|
|
|
compilerOptions {
|
|
|
|
freeCompilerArgs.addAll("-Xjvm-default=all", "-Xopt-in=kotlin.RequiresOptIn")
|
2020-06-07 21:16:19 +03:00
|
|
|
}
|
2020-06-06 21:48:38 +03:00
|
|
|
}
|
|
|
|
|
2024-05-11 17:56:28 +03:00
|
|
|
compose{
|
|
|
|
desktop{
|
|
|
|
application{
|
|
|
|
mainClass = "space.kscience.controls.demo.DemoControllerViewKt"
|
|
|
|
}
|
|
|
|
}
|
2020-06-09 17:36:34 +03:00
|
|
|
}
|
2024-05-11 17:56:28 +03:00
|
|
|
//
|
|
|
|
//
|
|
|
|
//tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
|
|
|
// kotlinOptions {
|
|
|
|
// freeCompilerArgs = freeCompilerArgs + listOf("-Xjvm-default=all", "-Xopt-in=kotlin.RequiresOptIn")
|
|
|
|
// }
|
|
|
|
//}
|
|
|
|
//
|
|
|
|
//javafx {
|
|
|
|
// version = "17"
|
|
|
|
// modules("javafx.controls")
|
|
|
|
//}
|
|
|
|
//
|
|
|
|
//application {
|
|
|
|
// mainClass.set("space.kscience.controls.demo.DemoControllerViewKt")
|
|
|
|
//}
|