forked from kscience/visionforge
44 lines
978 B
Plaintext
44 lines
978 B
Plaintext
import space.kscience.gradle.DependencyConfiguration
|
|
import space.kscience.gradle.FXModule
|
|
|
|
plugins {
|
|
id("space.kscience.gradle.mpp")
|
|
application
|
|
}
|
|
|
|
kscience {
|
|
useCoroutines()
|
|
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(":visionforge-threejs"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
application {
|
|
mainClassName = "space.kscience.visionforge.solid.demo.FXDemoAppKt"
|
|
} |