2019-12-26 22:21:10 +03:00
|
|
|
import org.openjfx.gradle.JavaFXOptions
|
|
|
|
import scientifik.useSerialization
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id("scientifik.mpp")
|
|
|
|
id("org.openjfx.javafxplugin")
|
|
|
|
id("application")
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "ru.mipt.npm"
|
|
|
|
|
|
|
|
useSerialization()
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
|
|
|
|
jvm {
|
|
|
|
withJava()
|
|
|
|
}
|
|
|
|
|
|
|
|
js {
|
|
|
|
browser {
|
|
|
|
webpackTask {
|
2019-12-28 22:11:43 +03:00
|
|
|
sourceMaps = true
|
2019-12-26 22:21:10 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":dataforge-vis-spatial"))
|
|
|
|
api(project(":dataforge-vis-spatial-gdml"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClassName = "hep.dataforge.vis.spatial.demo.FXDemoAppKt"
|
|
|
|
}
|
|
|
|
|
|
|
|
configure<JavaFXOptions> {
|
|
|
|
modules("javafx.controls")
|
|
|
|
}
|