2019-10-12 17:17:05 +03:00
|
|
|
import org.openjfx.gradle.JavaFXOptions
|
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
plugins {
|
2019-06-30 14:35:54 +03:00
|
|
|
id("scientifik.mpp")
|
2019-10-12 17:17:05 +03:00
|
|
|
id("org.openjfx.javafxplugin")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
|
2019-07-21 18:21:13 +03:00
|
|
|
scientifik{
|
2019-09-15 11:30:25 +03:00
|
|
|
withSerialization()
|
2019-07-21 18:21:13 +03:00
|
|
|
}
|
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
val dataforgeVersion: String by rootProject.extra
|
|
|
|
|
|
|
|
kotlin {
|
2019-10-12 17:17:05 +03:00
|
|
|
jvm{
|
|
|
|
withJava()
|
|
|
|
}
|
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
sourceSets {
|
2019-10-12 17:17:05 +03:00
|
|
|
commonMain{
|
2019-03-08 11:55:01 +03:00
|
|
|
dependencies {
|
2019-03-25 22:12:22 +03:00
|
|
|
api("hep.dataforge:dataforge-output:$dataforgeVersion")
|
2019-06-02 20:32:31 +03:00
|
|
|
}
|
|
|
|
}
|
2019-10-12 17:17:05 +03:00
|
|
|
jvmMain{
|
|
|
|
dependencies {
|
|
|
|
api("no.tornado:tornadofx:1.7.19")
|
|
|
|
api("no.tornado:tornadofx-controlsfx:0.1")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jsMain{
|
2019-06-02 20:32:31 +03:00
|
|
|
dependencies {
|
2019-06-30 14:35:54 +03:00
|
|
|
api("hep.dataforge:dataforge-output-html:$dataforgeVersion")
|
2019-08-17 14:22:39 +03:00
|
|
|
api(npm("text-encoding"))
|
2019-10-09 09:34:20 +03:00
|
|
|
api("org.jetbrains:kotlin-extensions:1.0.1-pre.83-kotlin-1.3.50")
|
|
|
|
api(npm("core-js"))
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-12 17:17:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
configure<JavaFXOptions> {
|
|
|
|
modules("javafx.controls")
|
|
|
|
}
|