controls-kt/controls-core/build.gradle.kts

71 lines
1.8 KiB
Plaintext
Raw Normal View History

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-08-31 12:40:49 +03:00
kscience {
2023-02-18 20:05:26 +03:00
jvm()
js()
native()
wasm()
useCoroutines()
useSerialization{
json()
}
2023-05-07 11:13:42 +03:00
useContextReceivers()
2023-12-13 12:29:06 +03:00
commonMain {
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-12-13 12:29:06 +03:00
jvmTest{
implementation(spclibs.logback.classic)
}
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
}