visionforge/demo/muon-monitor/build.gradle.kts

55 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-12-26 22:21:10 +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)
// alias(spclibs.plugins.ktor)
2020-10-02 19:09:25 +03:00
application
2019-12-26 22:21:10 +03:00
}
group = "ru.mipt.npm"
2019-12-30 11:40:37 +03:00
2020-10-02 19:09:25 +03:00
kscience {
2023-05-14 18:33:30 +03:00
fullStack(
"muon-monitor.js",
jvmConfig = {withJava()},
2023-12-27 12:01:55 +03:00
browserConfig = {
commonWebpackConfig {
cssSupport {
2023-12-27 12:01:55 +03:00
enabled = true
}
scssSupport {
2023-12-27 12:01:55 +03:00
enabled = true
}
}
}
2023-12-18 09:41:05 +03:00
)
2021-03-10 21:58:28 +03:00
useCoroutines()
useSerialization()
useKtor()
2023-05-14 18:33:30 +03:00
commonMain {
implementation(projects.visionforgeSolid)
2024-02-16 18:21:09 +03:00
implementation(projects.visionforgeComposeHtml)
2023-05-14 18:33:30 +03:00
}
jvmMain {
implementation("org.apache.commons:commons-math3:3.6.1")
implementation("io.ktor:ktor-server-cio")
implementation("io.ktor:ktor-server-content-negotiation")
implementation("io.ktor:ktor-serialization-kotlinx-json")
implementation(spclibs.logback.classic)
2019-12-26 22:21:10 +03:00
}
2023-05-14 18:33:30 +03:00
jsMain {
2023-06-02 20:58:32 +03:00
implementation(projects.visionforgeThreejs)
2023-05-14 18:33:30 +03:00
//implementation(devNpm("webpack-bundle-analyzer", "4.4.0"))
}
2019-12-26 22:21:10 +03:00
}
kotlin {
2024-02-12 20:04:10 +03:00
explicitApi = null
}
2019-12-26 22:21:10 +03:00
2023-06-03 17:55:27 +03:00
2019-12-26 22:21:10 +03:00
application {
mainClass.set("ru.mipt.npm.muon.monitor.MMServerKt")
}