2020-06-05 21:07:23 +03:00
|
|
|
plugins {
|
|
|
|
kotlin("jvm") version "1.3.72"
|
2020-06-06 21:48:38 +03:00
|
|
|
id("org.openjfx.javafxplugin") version "0.0.8"
|
2020-07-19 20:37:44 +03:00
|
|
|
application
|
2020-06-05 21:07:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
val plotlyVersion: String by rootProject.extra
|
|
|
|
|
|
|
|
repositories{
|
|
|
|
jcenter()
|
|
|
|
maven("https://kotlin.bintray.com/kotlinx")
|
|
|
|
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
|
|
|
maven("https://dl.bintray.com/mipt-npm/dataforge")
|
|
|
|
maven("https://dl.bintray.com/mipt-npm/scientifik")
|
|
|
|
maven("https://dl.bintray.com/mipt-npm/dev")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies{
|
2020-07-19 20:37:44 +03:00
|
|
|
implementation(project(":dataforge-device-core"))
|
|
|
|
implementation(project(":dataforge-device-server"))
|
2020-06-06 21:48:38 +03:00
|
|
|
implementation("no.tornado:tornadofx:1.7.20")
|
|
|
|
implementation(kotlin("stdlib-jdk8"))
|
2020-06-05 21:07:23 +03:00
|
|
|
implementation("scientifik:plotlykt-server:$plotlyVersion")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
2020-06-07 21:16:19 +03:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "11"
|
|
|
|
}
|
2020-06-06 21:48:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
javafx{
|
|
|
|
version = "14"
|
|
|
|
modules("javafx.controls")
|
2020-06-09 17:36:34 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
application{
|
|
|
|
mainClassName = "hep.dataforge.control.demo.DemoControllerViewKt"
|
2020-06-05 21:07:23 +03:00
|
|
|
}
|