40 lines
878 B
Plaintext
40 lines
878 B
Plaintext
|
|
plugins {
|
|
id("space.kscience.gradle.mpp")
|
|
alias(spclibs.plugins.compose.compiler)
|
|
alias(spclibs.plugins.compose.jb)
|
|
}
|
|
|
|
val ktorVersion: String by rootProject.extra
|
|
|
|
kscience {
|
|
fullStack(
|
|
bundleName = "js/visionforge-three.js",
|
|
browserConfig = {
|
|
webpackTask {
|
|
cssSupport {
|
|
enabled = true
|
|
}
|
|
scssSupport {
|
|
enabled = true
|
|
}
|
|
}
|
|
}
|
|
)
|
|
|
|
commonMain {
|
|
api(projects.visionforgeSolid)
|
|
api(projects.visionforgeComposeHtml)
|
|
}
|
|
|
|
jvmMain {
|
|
api(projects.visionforgeServer)
|
|
}
|
|
|
|
jsMain {
|
|
api(projects.visionforgeThreejs)
|
|
api(npm("file-saver", "2.0.5"))
|
|
api(npm("@types/file-saver", "2.0.7"))
|
|
compileOnly(npm("webpack-bundle-analyzer", "4.5.0"))
|
|
}
|
|
} |