controls-kt/magix/magix-server/build.gradle.kts

38 lines
924 B
Plaintext
Raw Normal View History

2023-08-23 16:21:11 +03:00
import space.kscience.gradle.Maturity
2020-11-02 17:53:53 +03:00
plugins {
id("space.kscience.gradle.mpp")
2021-04-05 17:41:36 +03:00
`maven-publish`
2020-11-02 17:53:53 +03:00
}
2021-06-22 17:37:22 +03:00
description = """
A magix event loop implementation in Kotlin. Includes HTTP/SSE and RSocket routes.
""".trimIndent()
val dataforgeVersion: String by rootProject.extra
val ktorVersion: String = space.kscience.gradle.KScienceVersions.ktorVersion
2020-11-02 17:53:53 +03:00
kscience {
jvm()
2020-11-03 18:54:52 +03:00
useSerialization{
json()
}
2020-11-02 17:53:53 +03:00
jvmMain{
api(projects.magix.magixApi)
api("io.ktor:ktor-server-cio:$ktorVersion")
api("io.ktor:ktor-server-websockets:$ktorVersion")
api("io.ktor:ktor-server-content-negotiation:$ktorVersion")
api("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
api("io.ktor:ktor-server-html-builder:$ktorVersion")
2020-11-02 17:53:53 +03:00
api(libs.rsocket.ktor.server)
api(libs.rsocket.transport.ktor.tcp)
}
2020-11-02 17:53:53 +03:00
2023-08-23 16:21:11 +03:00
}
2023-08-23 16:21:11 +03:00
readme{
maturity = Maturity.EXPERIMENTAL
2020-11-02 17:53:53 +03:00
}