2019-12-22 20:56:19 +03:00
|
|
|
import org.openjfx.gradle.JavaFXOptions
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id("scientifik.mpp")
|
|
|
|
id("org.openjfx.javafxplugin")
|
|
|
|
id("application")
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
|
|
|
|
jvm {
|
|
|
|
withJava()
|
|
|
|
}
|
|
|
|
|
|
|
|
js {
|
|
|
|
browser {
|
|
|
|
webpackTask {
|
2019-12-26 11:46:44 +03:00
|
|
|
//sourceMaps = false
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":dataforge-vis-spatial"))
|
|
|
|
api(project(":dataforge-vis-spatial-gdml"))
|
|
|
|
}
|
|
|
|
}
|
2020-02-26 23:03:27 +03:00
|
|
|
jvmMain{
|
|
|
|
dependencies {
|
|
|
|
api("org.fxyz3d:fxyz3d:0.5.2")
|
|
|
|
}
|
|
|
|
}
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
2019-12-24 14:14:10 +03:00
|
|
|
mainClassName = "hep.dataforge.vis.spatial.gdml.demo.GDMLDemoAppKt"
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
configure<JavaFXOptions> {
|
|
|
|
modules("javafx.controls")
|
|
|
|
}
|