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-18 09:41:05 +03:00
|
|
|
fullStack("js/visionforge-three.js")
|
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)
|
2023-12-27 12:01:55 +03:00
|
|
|
api(projects.visionforgeComposeHtml)
|
2020-12-12 21:19:41 +03:00
|
|
|
}
|
2022-08-14 17:22:10 +03:00
|
|
|
|
2023-12-18 09:41:05 +03:00
|
|
|
jvmMain{
|
2023-05-14 18:33:30 +03:00
|
|
|
api(projects.visionforgeServer)
|
|
|
|
}
|
2022-08-14 17:22:10 +03:00
|
|
|
|
2023-12-18 09:41:05 +03:00
|
|
|
jsMain{
|
2023-05-14 18:33:30 +03:00
|
|
|
api(projects.visionforgeThreejs)
|
2023-12-27 12:01:55 +03:00
|
|
|
implementation(npm("file-saver","2.0.5"))
|
|
|
|
implementation(npm("@types/file-saver", "2.0.7"))
|
2023-05-14 18:33:30 +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
|
|
|
}
|