2019-12-22 20:56:19 +03:00
|
|
|
plugins {
|
2022-08-12 22:16:06 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2023-06-04 20:58:03 +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()
|
2023-06-04 20:58:03 +03:00
|
|
|
jvm()
|
|
|
|
js{
|
|
|
|
binaries.executable()
|
2024-01-01 15:54:29 +03:00
|
|
|
browser{
|
|
|
|
commonWebpackConfig{
|
|
|
|
cssSupport{
|
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
scssSupport{
|
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
2023-05-14 18:33:30 +03:00
|
|
|
dependencies {
|
|
|
|
implementation(projects.visionforgeSolid)
|
|
|
|
implementation(projects.visionforgeGdml)
|
|
|
|
}
|
2019-12-22 20:56:19 +03:00
|
|
|
|
2023-05-14 18:33:30 +03:00
|
|
|
jsMain {
|
|
|
|
implementation(projects.visionforgeThreejs)
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-03 17:55:27 +03:00
|
|
|
kotlin.explicitApi = null
|
|
|
|
|
2023-06-04 20:58:03 +03:00
|
|
|
//application {
|
|
|
|
// mainClass.set("space.kscience.visionforge.solid.demo.FXDemoAppKt")
|
|
|
|
//}
|