forked from kscience/visionforge
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
import ru.mipt.npm.gradle.DependencyConfiguration
|
|
import ru.mipt.npm.gradle.FXModule
|
|
import ru.mipt.npm.gradle.useFx
|
|
|
|
plugins {
|
|
id("ru.mipt.npm.mpp")
|
|
application
|
|
}
|
|
|
|
kscience {
|
|
val fxVersion: String by rootProject.extra
|
|
useFx(FXModule.CONTROLS, version = fxVersion, configuration = DependencyConfiguration.IMPLEMENTATION)
|
|
application()
|
|
}
|
|
|
|
kotlin {
|
|
jvm {
|
|
withJava()
|
|
}
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation(project(":visionforge-solid"))
|
|
implementation(project(":visionforge-gdml"))
|
|
}
|
|
}
|
|
jvmMain{
|
|
dependencies{
|
|
implementation(project(":visionforge-fx"))
|
|
}
|
|
}
|
|
jsMain {
|
|
dependencies {
|
|
implementation(project(":ui:bootstrap"))
|
|
implementation(project(":visionforge-threejs"))
|
|
implementation(npm("react-file-drop", "3.0.6"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
application {
|
|
mainClass.set("hep.dataforge.vision.gdml.demo.GdmlFxDemoAppKt")
|
|
}
|
|
|
|
val convertGdmlToJson by tasks.creating(JavaExec::class) {
|
|
group = "application"
|
|
classpath = sourceSets["main"].runtimeClasspath
|
|
main = "hep.dataforge.vis.spatial.gdml.demo.SaveToJsonKt"
|
|
} |