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

43 lines
808 B
Plaintext
Raw Normal View History

2023-08-23 16:21:11 +03:00
import space.kscience.gradle.Maturity
2020-11-03 18:54:52 +03:00
plugins {
2022-08-02 09:46:31 +03:00
id("space.kscience.gradle.mpp")
2021-04-05 17:41:36 +03:00
`maven-publish`
2020-11-03 18:54:52 +03:00
}
2021-06-21 14:09:59 +03:00
description = """
Magix endpoint (client) based on RSocket
""".trimIndent()
2023-02-18 20:05:26 +03:00
val ktorVersion: String by rootProject.extra
2020-11-03 18:54:52 +03:00
kscience {
2023-02-18 20:05:26 +03:00
jvm()
js()
native()
2021-06-21 14:09:59 +03:00
useSerialization {
2020-11-03 18:54:52 +03:00
json()
}
2023-02-18 20:05:26 +03:00
dependencies {
api(projects.magix.magixApi)
implementation(spclibs.ktor.client.core)
implementation(libs.rsocket.ktor.client)
2023-02-18 20:05:26 +03:00
}
dependencies(jvmMain) {
implementation(libs.rsocket.transport.ktor.tcp)
2023-02-18 20:05:26 +03:00
}
2020-11-03 18:54:52 +03:00
}
kotlin {
sourceSets {
2023-02-18 20:05:26 +03:00
getByName("linuxX64Main") {
2022-06-05 10:28:46 +03:00
dependencies {
implementation(libs.rsocket.transport.ktor.tcp)
2020-11-03 18:54:52 +03:00
}
}
}
2023-08-23 16:21:11 +03:00
}
readme {
maturity = Maturity.EXPERIMENTAL
2020-11-03 18:54:52 +03:00
}