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

48 lines
1.0 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 {
2021-02-23 21:47:18 +03:00
id("ru.mipt.npm.gradle.mpp")
2020-10-02 19:09:25 +03:00
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
2021-02-16 14:49:15 +03:00
val kotlinWrappersVersion: String by rootProject.extra
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"))
2021-02-16 14:49:15 +03:00
// implementation(project(":visionforge-gdml"))
2020-11-19 13:43:42 +03:00
}
}
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"))
2019-12-22 20:56:19 +03:00
}
}
}
}
application {
2021-03-07 16:19:43 +03:00
mainClassName = "space.kscience.visionforge.solid.demo.FXDemoAppKt"
2019-12-22 20:56:19 +03:00
}