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
|
|
|
|
}
|
|
|
|
|
|
|
|
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-05 17:41:36 +03:00
|
|
|
val ktorVersion: String = "1.5.3"
|
2020-11-02 17:53:53 +03:00
|
|
|
|
|
|
|
dependencies{
|
|
|
|
api(project(":magix:magix-api"))
|
|
|
|
implementation("io.ktor:ktor-server-cio:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-websockets:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-serialization:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-html-builder:$ktorVersion")
|
|
|
|
|
|
|
|
implementation("io.rsocket.kotlin:rsocket-core:$rsocketVersion")
|
|
|
|
implementation("io.rsocket.kotlin:rsocket-transport-ktor-server:$rsocketVersion")
|
|
|
|
}
|