2020-12-12 21:19:41 +03:00
|
|
|
plugins {
|
2022-08-12 22:16:06 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2022-08-14 17:22:10 +03:00
|
|
|
}
|
2020-12-12 21:19:41 +03:00
|
|
|
|
|
|
|
val ktorVersion: String by rootProject.extra
|
|
|
|
|
2023-05-14 18:33:30 +03:00
|
|
|
kscience {
|
|
|
|
fullStack("js/visionforge-three.js") {
|
|
|
|
commonWebpackConfig {
|
|
|
|
cssSupport {
|
|
|
|
enabled.set(false)
|
2023-01-17 19:20:48 +03:00
|
|
|
}
|
2020-12-12 21:19:41 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-14 18:33:30 +03:00
|
|
|
dependencies {
|
|
|
|
api(projects.visionforgeSolid)
|
2020-12-12 21:19:41 +03:00
|
|
|
}
|
2022-08-14 17:22:10 +03:00
|
|
|
|
2023-05-14 18:33:30 +03:00
|
|
|
dependencies(jvmMain) {
|
|
|
|
api(projects.visionforgeServer)
|
|
|
|
}
|
2022-08-14 17:22:10 +03:00
|
|
|
|
2023-05-14 18:33:30 +03:00
|
|
|
dependencies(jsMain) {
|
|
|
|
api(projects.visionforgeThreejs)
|
|
|
|
api(projects.ui.ring)
|
|
|
|
compileOnly(npm("webpack-bundle-analyzer","4.5.0"))
|
2022-08-14 17:22:10 +03:00
|
|
|
}
|
2023-05-14 18:33:30 +03:00
|
|
|
}
|