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

44 lines
969 B
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
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 {
2021-03-07 16:19:43 +03:00
mainClassName = "space.kscience.visionforge.solid.demo.FXDemoAppKt"
2019-12-22 20:56:19 +03:00
}