visionforge/demo/spatial-showcase/build.gradle.kts

47 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-11-19 13:43:42 +03:00
import ru.mipt.npm.gradle.DependencyConfiguration
import ru.mipt.npm.gradle.FXModule
2019-12-22 20:56:19 +03:00
plugins {
2020-10-02 19:09:25 +03:00
id("ru.mipt.npm.mpp")
application
2019-12-22 20:56:19 +03:00
}
2020-10-02 19:09:25 +03:00
kscience {
2020-11-07 17:32:18 +03:00
useCoroutines()
2020-10-02 19:09:25 +03:00
val fxVersion: String by rootProject.extra
useFx(FXModule.CONTROLS, version = fxVersion, configuration = DependencyConfiguration.IMPLEMENTATION)
application()
}
2020-03-16 22:24:57 +03:00
2019-12-22 20:56:19 +03:00
kotlin {
jvm {
2020-10-02 19:09:25 +03:00
afterEvaluate {
withJava()
}
2019-12-22 20:56:19 +03:00
}
sourceSets {
commonMain {
dependencies {
2020-11-19 13:43:42 +03:00
implementation(project(":visionforge-solid"))
implementation(project(":visionforge-gdml"))
}
}
2020-11-21 10:56:07 +03:00
jvmMain{
dependencies{
implementation(project(":visionforge-fx"))
}
}
2020-11-19 13:43:42 +03:00
jsMain{
dependencies {
2020-11-21 11:17:18 +03:00
implementation(project(":visionforge-threejs"))
2020-11-19 13:43:42 +03:00
implementation("org.jetbrains:kotlin-css:1.0.0-pre.129-kotlin-1.4.10")
2019-12-22 20:56:19 +03:00
}
}
}
}
application {
2020-08-08 09:57:02 +03:00
mainClassName = "hep.dataforge.vision.solid.demo.FXDemoAppKt"
2019-12-22 20:56:19 +03:00
}