71 lines
1.8 KiB
Plaintext
71 lines
1.8 KiB
Plaintext
import space.kscience.gradle.Maturity
|
|
|
|
plugins {
|
|
id("space.kscience.gradle.mpp")
|
|
`maven-publish`
|
|
}
|
|
|
|
description = """
|
|
Core interfaces for building a device server
|
|
""".trimIndent()
|
|
|
|
kscience {
|
|
jvm()
|
|
js()
|
|
native()
|
|
wasm()
|
|
useCoroutines()
|
|
useSerialization{
|
|
json()
|
|
}
|
|
useContextReceivers()
|
|
commonMain {
|
|
api(libs.dataforge.io)
|
|
api(spclibs.kotlinx.datetime)
|
|
}
|
|
|
|
jvmTest{
|
|
implementation(spclibs.logback.classic)
|
|
}
|
|
}
|
|
|
|
|
|
readme{
|
|
maturity = Maturity.EXPERIMENTAL
|
|
|
|
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()
|
|
}
|
|
|
|
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()
|
|
}
|
|
} |