2023-08-23 16:21:11 +03:00
|
|
|
import space.kscience.gradle.Maturity
|
|
|
|
|
2020-02-17 14:46:02 +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-02-17 14:46:02 +03:00
|
|
|
}
|
|
|
|
|
2023-08-23 16:21:11 +03:00
|
|
|
description = """
|
|
|
|
Core interfaces for building a device server
|
|
|
|
""".trimIndent()
|
|
|
|
|
2020-02-17 14:46:02 +03:00
|
|
|
val dataforgeVersion: String by rootProject.extra
|
|
|
|
|
2020-08-31 12:40:49 +03:00
|
|
|
kscience {
|
2023-02-18 20:05:26 +03:00
|
|
|
jvm()
|
|
|
|
js()
|
|
|
|
native()
|
2022-06-01 10:11:12 +03:00
|
|
|
useCoroutines()
|
2020-11-05 11:29:40 +03:00
|
|
|
useSerialization{
|
|
|
|
json()
|
|
|
|
}
|
2023-05-07 11:13:42 +03:00
|
|
|
useContextReceivers()
|
2023-02-18 20:05:26 +03:00
|
|
|
dependencies {
|
2024-03-19 21:48:26 +03:00
|
|
|
api(libs.dataforge.io)
|
2023-04-15 20:00:47 +03:00
|
|
|
api(spclibs.kotlinx.datetime)
|
2020-02-17 14:46:02 +03:00
|
|
|
}
|
2023-02-18 20:05:26 +03:00
|
|
|
}
|
2023-05-03 11:05:54 +03:00
|
|
|
|
|
|
|
|
|
|
|
readme{
|
2023-08-23 16:21:11 +03:00
|
|
|
maturity = Maturity.EXPERIMENTAL
|
|
|
|
|
2023-05-03 11:05:54 +03:00
|
|
|
feature("device", ref = "src/commonMain/kotlin/space/kscience/controls/api/Device.kt"){
|
|
|
|
"""
|
|
|
|
Device API with subscription (asynchronous and pseudo-synchronous properties)
|
|
|
|
""".trimIndent()
|
|
|
|
}
|
|
|
|
|
|
|
|
feature("deviceMessage", ref = "src/commonMain/kotlin/space/kscience/controls/api/DeviceMessage.kt"){
|
|
|
|
"""
|
|
|
|
Specification for messages used to communicate between Controls-kt devices.
|
|
|
|
""".trimIndent()
|
|
|
|
}
|
|
|
|
|
|
|
|
feature("deviceHub", ref = "src/commonMain/kotlin/space/kscience/controls/api/DeviceHub.kt"){
|
|
|
|
"""
|
|
|
|
Grouping of devices into local tree-like hubs.
|
|
|
|
""".trimIndent()
|
|
|
|
}
|
2023-08-23 16:21:11 +03:00
|
|
|
|
|
|
|
feature("deviceSpec", ref = "src/commonMain/kotlin/space/kscience/controls/spec"){
|
|
|
|
"""
|
|
|
|
Mechanics and type-safe builders for devices. Including separation of device specification and device state.
|
|
|
|
""".trimIndent()
|
|
|
|
}
|
|
|
|
|
|
|
|
feature("deviceManager", ref = "src/commonMain/kotlin/space/kscience/controls/manager"){
|
|
|
|
"""
|
|
|
|
DataForge DI integration for devices. Includes device builders.
|
|
|
|
""".trimIndent()
|
|
|
|
}
|
|
|
|
|
|
|
|
feature("ports", ref = "src/commonMain/kotlin/space/kscience/controls/ports"){
|
|
|
|
"""
|
|
|
|
Working with asynchronous data sending and receiving raw byte arrays
|
|
|
|
""".trimIndent()
|
|
|
|
}
|
2023-05-03 11:05:54 +03:00
|
|
|
}
|