visionforge/dataforge-vis-common/build.gradle.kts

46 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-10-12 17:17:05 +03:00
import org.openjfx.gradle.JavaFXOptions
2019-12-24 22:09:39 +03:00
import scientifik.useSerialization
2019-10-12 17:17:05 +03:00
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
}
val dataforgeVersion: String by rootProject.extra
2019-10-13 12:38:24 +03:00
//val kvisionVersion: String by rootProject.extra("2.0.0-M1")
2019-03-08 11:55:01 +03:00
2019-12-24 22:09:39 +03:00
useSerialization()
2019-03-08 11:55:01 +03:00
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")
2019-12-24 22:09:39 +03:00
//api("no.tornado:tornadofx-controlsfx:0.1.1")
api("de.jensd:fontawesomefx-fontawesome:4.7.0-11")
api("de.jensd:fontawesomefx-commons:11.0")
2019-10-12 17:17:05 +03:00
}
}
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-12-14 21:45:41 +03:00
api(npm("bootstrap","4.4.1"))
2019-12-24 14:14:10 +03:00
implementation(npm("jsoneditor"))
2019-03-08 11:55:01 +03:00
}
}
}
2019-10-12 17:17:05 +03:00
}
configure<JavaFXOptions> {
modules("javafx.controls")
}