2023-08-23 16:21:11 +03:00
|
|
|
import space.kscience.gradle.Maturity
|
|
|
|
|
2020-06-30 22:03:56 +03:00
|
|
|
plugins {
|
2023-11-08 11:52:57 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2021-04-05 17:41:36 +03:00
|
|
|
`maven-publish`
|
2020-06-30 22:03:56 +03:00
|
|
|
}
|
|
|
|
|
2021-06-22 17:37:22 +03:00
|
|
|
description = """
|
2023-08-23 16:21:11 +03:00
|
|
|
A combined Magix event loop server with web server for visualization.
|
2021-06-22 17:37:22 +03:00
|
|
|
""".trimIndent()
|
|
|
|
|
2020-06-30 22:03:56 +03:00
|
|
|
val dataforgeVersion: String by rootProject.extra
|
2021-08-03 21:05:36 +03:00
|
|
|
val ktorVersion: String by rootProject.extra
|
2020-06-30 22:03:56 +03:00
|
|
|
|
2023-11-08 11:52:57 +03:00
|
|
|
|
|
|
|
kscience {
|
|
|
|
jvm()
|
|
|
|
dependencies {
|
|
|
|
implementation(projects.controlsCore)
|
|
|
|
implementation(projects.controlsPortsKtor)
|
|
|
|
implementation(projects.magix.magixServer)
|
|
|
|
implementation("io.ktor:ktor-server-cio:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-server-websockets:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-server-content-negotiation:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-server-html-builder:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-server-status-pages:$ktorVersion")
|
|
|
|
}
|
2023-08-23 16:21:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
readme{
|
|
|
|
maturity = Maturity.PROTOTYPE
|
2020-06-30 22:03:56 +03:00
|
|
|
}
|