visionforge/visionforge-threejs/visionforge-threejs-server/build.gradle.kts

39 lines
853 B
Plaintext
Raw Normal View History

2024-02-12 20:04:10 +03:00
2020-12-12 21:19:41 +03:00
plugins {
2022-08-12 22:16:06 +03:00
id("space.kscience.gradle.mpp")
2023-12-18 09:41:05 +03:00
alias(spclibs.plugins.compose)
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 {
2023-12-31 18:09:36 +03:00
fullStack(
bundleName = "js/visionforge-three.js",
browserConfig = {
webpackTask {
cssSupport {
enabled = true
}
scssSupport {
enabled = true
}
}
}
)
2020-12-12 21:19:41 +03:00
2023-12-18 09:41:05 +03:00
commonMain {
2023-05-14 18:33:30 +03:00
api(projects.visionforgeSolid)
2024-02-16 18:21:09 +03:00
api(projects.visionforgeComposeHtml)
2020-12-12 21:19:41 +03:00
}
2022-08-14 17:22:10 +03:00
2023-12-31 18:09:36 +03:00
jvmMain {
2023-05-14 18:33:30 +03:00
api(projects.visionforgeServer)
}
2022-08-14 17:22:10 +03:00
2023-12-31 18:09:36 +03:00
jsMain {
2023-05-14 18:33:30 +03:00
api(projects.visionforgeThreejs)
2023-12-31 18:09:36 +03:00
implementation(npm("file-saver", "2.0.5"))
2023-12-27 12:01:55 +03:00
implementation(npm("@types/file-saver", "2.0.7"))
2023-12-31 18:09:36 +03:00
compileOnly(npm("webpack-bundle-analyzer", "4.5.0"))
2022-08-14 17:22:10 +03:00
}
2023-05-14 18:33:30 +03:00
}