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

45 lines
975 B
Plaintext
Raw Normal View History

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
}
scientifik{
withSerialization()
}
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
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-10-13 12:38:24 +03:00
api("kotlin.js.externals:kotlin-js-jquery:3.2.0-0")
api(npm("bootstrap","4.3.1"))
2019-03-08 11:55:01 +03:00
}
}
}
2019-10-12 17:17:05 +03:00
}
configure<JavaFXOptions> {
modules("javafx.controls")
}