2019-08-04 11:32:19 +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-08-04 11:32:19 +03:00
|
|
|
id("org.openjfx.javafxplugin")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
|
2019-09-25 19:29:49 +03:00
|
|
|
scientifik {
|
2019-09-15 11:30:25 +03:00
|
|
|
withSerialization()
|
2019-08-04 11:02:36 +03:00
|
|
|
}
|
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
kotlin {
|
2019-09-25 19:29:49 +03:00
|
|
|
jvm {
|
2019-08-04 11:02:36 +03:00
|
|
|
withJava()
|
|
|
|
}
|
2019-03-08 11:55:01 +03:00
|
|
|
sourceSets {
|
2019-08-04 11:02:36 +03:00
|
|
|
commonMain {
|
2019-03-08 11:55:01 +03:00
|
|
|
dependencies {
|
|
|
|
api(project(":dataforge-vis-common"))
|
|
|
|
}
|
|
|
|
}
|
2019-09-25 19:29:49 +03:00
|
|
|
jvmMain {
|
2019-08-04 11:02:36 +03:00
|
|
|
dependencies {
|
2019-08-04 11:32:19 +03:00
|
|
|
implementation(project(":dataforge-vis-fx"))
|
|
|
|
implementation("org.fxyz3d:fxyz3d:0.4.0")
|
2019-08-04 11:02:36 +03:00
|
|
|
}
|
|
|
|
}
|
2019-09-25 19:29:49 +03:00
|
|
|
jsMain {
|
2019-08-04 11:02:36 +03:00
|
|
|
dependencies {
|
|
|
|
implementation(npm("three", "0.106.2"))
|
2019-08-17 14:22:39 +03:00
|
|
|
implementation(npm("@hi-level/three-csg", "1.0.6"))
|
2019-08-04 11:02:36 +03:00
|
|
|
implementation(npm("style-loader"))
|
|
|
|
implementation(npm("element-resize-event"))
|
2019-09-25 19:29:49 +03:00
|
|
|
implementation(npm("inspire-tree","6.0.1"))
|
|
|
|
implementation(npm("inspire-tree-dom","4.0.6"))
|
2019-10-01 22:22:13 +03:00
|
|
|
implementation(npm("jsoneditor"))
|
2019-10-02 22:02:26 +03:00
|
|
|
// api("org.jetbrains:kotlin-extensions:1.0.1-pre.83-kotlin-1.3.50")
|
|
|
|
// api(npm("core-js"))
|
2019-08-04 11:02:36 +03:00
|
|
|
}
|
|
|
|
}
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-04 11:32:19 +03:00
|
|
|
configure<JavaFXOptions> {
|
|
|
|
modules("javafx.controls")
|
|
|
|
}
|
|
|
|
|