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

33 lines
950 B
Plaintext
Raw Normal View History

2020-11-02 17:53:53 +03:00
plugins {
2021-04-05 17:41:36 +03:00
id("ru.mipt.npm.gradle.jvm")
`maven-publish`
2020-11-02 17:53:53 +03:00
application
}
2021-06-22 17:37:22 +03:00
description = """
A magix event loop implementation in Kotlin. Includes HTTP/SSE and RSocket routes.
""".trimIndent()
2020-11-02 17:53:53 +03:00
kscience {
2020-11-03 18:54:52 +03:00
useSerialization{
json()
}
2020-11-02 17:53:53 +03:00
}
val dataforgeVersion: String by rootProject.extra
val rsocketVersion: String by rootProject.extra
2021-04-11 15:12:09 +03:00
val ktorVersion: String = ru.mipt.npm.gradle.KScienceVersions.ktorVersion
2020-11-02 17:53:53 +03:00
dependencies{
api(project(":magix:magix-api"))
2021-07-03 14:16:31 +03:00
api("io.ktor:ktor-server-cio:$ktorVersion")
2022-05-23 23:30:38 +03:00
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
2022-05-23 23:30:38 +03:00
api("io.rsocket.kotlin:rsocket-ktor-server:$rsocketVersion")
api("io.rsocket.kotlin:rsocket-transport-ktor-tcp:$rsocketVersion")
2021-06-28 20:58:27 +03:00
2021-07-03 14:16:31 +03:00
api("org.zeromq:jeromq:0.5.2")
2020-11-02 17:53:53 +03:00
}