2023-08-23 16:21:11 +03:00
|
|
|
import space.kscience.gradle.Maturity
|
|
|
|
|
2020-07-19 20:37:44 +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-07-19 20:37:44 +03:00
|
|
|
}
|
|
|
|
|
2023-05-07 21:04:08 +03:00
|
|
|
description = """
|
2023-08-18 20:17:23 +03:00
|
|
|
Magix service for binding controls devices (both as RPC client and server)
|
2023-05-07 21:04:08 +03:00
|
|
|
""".trimIndent()
|
|
|
|
|
|
|
|
kscience {
|
2023-02-18 20:05:26 +03:00
|
|
|
jvm()
|
|
|
|
js()
|
2024-05-15 22:49:08 +03:00
|
|
|
native()
|
2024-08-03 21:26:50 +03:00
|
|
|
wasm()
|
2024-05-15 22:49:08 +03:00
|
|
|
useCoroutines()
|
2020-12-02 12:35:16 +03:00
|
|
|
useSerialization {
|
|
|
|
json()
|
|
|
|
}
|
2024-05-21 09:44:45 +03:00
|
|
|
|
2024-05-17 23:01:20 +03:00
|
|
|
commonMain {
|
2023-05-08 15:39:34 +03:00
|
|
|
api(projects.magix.magixApi)
|
|
|
|
api(projects.controlsCore)
|
2024-03-19 21:48:26 +03:00
|
|
|
api(libs.uuid)
|
2020-07-19 20:37:44 +03:00
|
|
|
}
|
2024-05-17 23:01:20 +03:00
|
|
|
|
|
|
|
jvmTest{
|
|
|
|
implementation(spclibs.logback.classic)
|
2024-05-21 09:44:45 +03:00
|
|
|
implementation(projects.magix.magixServer)
|
|
|
|
implementation(projects.magix.magixRsocket)
|
|
|
|
implementation(spclibs.ktor.server.cio)
|
|
|
|
implementation(spclibs.ktor.server.websockets)
|
|
|
|
implementation(spclibs.ktor.client.cio)
|
2024-05-17 23:01:20 +03:00
|
|
|
}
|
2023-05-07 21:04:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
readme {
|
2023-08-23 16:21:11 +03:00
|
|
|
maturity = Maturity.EXPERIMENTAL
|
|
|
|
|
|
|
|
feature("controlsMagix", ref = "src/commonMain/kotlin/space/kscience/controls/client/controlsMagix.kt"){
|
|
|
|
"""
|
|
|
|
Connect a `DeviceManage` with one or many devices to the Magix endpoint
|
|
|
|
""".trimIndent()
|
|
|
|
}
|
2023-05-07 21:04:08 +03:00
|
|
|
|
2023-08-23 16:21:11 +03:00
|
|
|
feature("DeviceClient", ref = "src/commonMain/kotlin/space/kscience/controls/client/DeviceClient.kt"){
|
|
|
|
"""
|
|
|
|
A remote connector to Controls-kt device via Magix
|
|
|
|
""".trimIndent()
|
|
|
|
}
|
2023-02-18 20:05:26 +03:00
|
|
|
}
|