forked from kscience/visionforge
43 lines
900 B
Plaintext
43 lines
900 B
Plaintext
import org.openjfx.gradle.JavaFXOptions
|
|
|
|
plugins {
|
|
id("scientifik.mpp")
|
|
id("org.openjfx.javafxplugin")
|
|
}
|
|
|
|
scientifik{
|
|
serialization = true
|
|
}
|
|
|
|
kotlin {
|
|
jvm{
|
|
withJava()
|
|
}
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
api(project(":dataforge-vis-common"))
|
|
}
|
|
}
|
|
jvmMain{
|
|
dependencies {
|
|
implementation(project(":dataforge-vis-fx"))
|
|
implementation("org.fxyz3d:fxyz3d:0.4.0")
|
|
}
|
|
}
|
|
jsMain{
|
|
dependencies {
|
|
implementation(npm("three", "0.106.2"))
|
|
implementation(npm("@hi-level/three-csg", "1.0.6"))
|
|
implementation(npm("style-loader"))
|
|
implementation(npm("element-resize-event"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
configure<JavaFXOptions> {
|
|
modules("javafx.controls")
|
|
}
|
|
|