2020-11-03 18:54:52 +03:00
|
|
|
plugins {
|
2021-04-05 17:41:36 +03:00
|
|
|
id("ru.mipt.npm.gradle.mpp")
|
|
|
|
`maven-publish`
|
2020-11-03 18:54:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kscience {
|
|
|
|
useSerialization{
|
|
|
|
json()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
val dataforgeVersion: String by rootProject.extra
|
|
|
|
val ktorVersion: String by rootProject.extra
|
|
|
|
val rsocketVersion: String by rootProject.extra
|
|
|
|
|
|
|
|
repositories{
|
|
|
|
maven("https://maven.pkg.github.com/altavir/ktor-client-sse")
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":magix:magix-api"))
|
|
|
|
implementation("io.ktor:ktor-client-core:$ktorVersion")
|
|
|
|
implementation("io.rsocket.kotlin:rsocket-transport-ktor-client:$rsocketVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|