2019-12-22 20:56:19 +03:00
|
|
|
plugins {
|
2022-08-12 22:16:06 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2024-06-04 22:47:56 +03:00
|
|
|
alias(spclibs.plugins.compose.compiler)
|
|
|
|
alias(spclibs.plugins.compose.jb)
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
|
|
|
|
2023-06-27 20:30:29 +03:00
|
|
|
group = "demo"
|
|
|
|
|
2020-10-02 19:09:25 +03:00
|
|
|
kscience {
|
2023-12-31 18:09:36 +03:00
|
|
|
// jvm()
|
2021-08-08 22:17:50 +03:00
|
|
|
js {
|
2021-05-09 15:49:18 +03:00
|
|
|
browser {
|
2023-05-29 21:38:30 +03:00
|
|
|
binaries.executable()
|
2023-12-31 18:09:36 +03:00
|
|
|
commonWebpackConfig{
|
|
|
|
cssSupport{
|
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
scssSupport{
|
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
sourceMaps = true
|
|
|
|
}
|
2021-05-09 15:49:18 +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-12-31 18:09:36 +03:00
|
|
|
// jvmMain {
|
|
|
|
//// implementation(project(":visionforge-fx"))
|
|
|
|
// implementation(spclibs.logback.classic)
|
|
|
|
// }
|
2023-05-14 18:33:30 +03:00
|
|
|
jsMain {
|
|
|
|
implementation(projects.visionforgeThreejs)
|
|
|
|
}
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
|
|
|
|
2023-05-30 17:06:27 +03:00
|
|
|
kotlin {
|
|
|
|
explicitApi = null
|
|
|
|
}
|
|
|
|
|
2020-04-13 19:24:03 +03:00
|
|
|
|
2023-05-14 18:33:30 +03:00
|
|
|
//val convertGdmlToJson by tasks.creating(JavaExec::class) {
|
|
|
|
// group = "application"
|
|
|
|
// classpath = sourceSets["main"].runtimeClasspath
|
|
|
|
// mainClass.set("space.kscience.dataforge.vis.spatial.gdml.demo.SaveToJsonKt")
|
|
|
|
//}
|