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

44 lines
977 B
Plaintext
Raw Normal View History

2022-08-12 22:16:06 +03:00
import space.kscience.gradle.DependencyConfiguration
import space.kscience.gradle.FXModule
2019-12-22 20:56:19 +03:00
plugins {
2022-08-12 22:16:06 +03:00
id("space.kscience.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
2019-12-22 20:56:19 +03:00
kotlin {
jvm {
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
}
}
jvmMain {
dependencies {
2020-11-21 10:56:07 +03:00
implementation(project(":visionforge-fx"))
}
}
jsMain {
2020-11-19 13:43:42 +03:00
dependencies {
2020-11-21 11:17:18 +03:00
implementation(project(":visionforge-threejs"))
2019-12-22 20:56:19 +03:00
}
}
}
}
application {
2022-08-14 17:22:10 +03:00
mainClass.set("space.kscience.visionforge.solid.demo.FXDemoAppKt")
2019-12-22 20:56:19 +03:00
}