2020-03-16 22:24:57 +03:00
|
|
|
import scientifik.DependencyConfiguration
|
|
|
|
import scientifik.FXModule
|
|
|
|
import scientifik.fx
|
2019-12-22 20:56:19 +03:00
|
|
|
|
|
|
|
plugins {
|
|
|
|
id("scientifik.mpp")
|
|
|
|
id("application")
|
|
|
|
}
|
|
|
|
|
2020-03-16 22:24:57 +03:00
|
|
|
val fxVersion: String by rootProject.extra
|
|
|
|
fx(FXModule.CONTROLS, version = fxVersion, configuration = DependencyConfiguration.IMPLEMENTATION)
|
|
|
|
|
2019-12-22 20:56:19 +03:00
|
|
|
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"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|