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

45 lines
1.0 KiB
Plaintext
Raw Normal View History

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
}
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()
useCoroutines()
useSerialization{
json()
}
2023-02-18 20:05:26 +03:00
dependencies {
api("space.kscience:dataforge-io:$dataforgeVersion")
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{
feature("device", ref = "src/commonMain/kotlin/space/kscience/controls/api/Device.kt"){
"""
Device API with subscription (asynchronous and pseudo-synchronous properties)
""".trimIndent()
}
}
readme{
feature("deviceMessage", ref = "src/commonMain/kotlin/space/kscience/controls/api/DeviceMessage.kt"){
"""
Specification for messages used to communicate between Controls-kt devices.
""".trimIndent()
}
}
readme{
feature("deviceHub", ref = "src/commonMain/kotlin/space/kscience/controls/api/DeviceHub.kt"){
"""
Grouping of devices into local tree-like hubs.
""".trimIndent()
}
}