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

39 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-08-23 16:21:11 +03:00
import space.kscience.gradle.Maturity
2023-05-03 11:05:54 +03:00
plugins {
id("space.kscience.gradle.jvm")
2023-05-27 19:49:25 +03:00
`maven-publish`
2023-05-03 11:05:54 +03:00
}
description = """
A plugin for Controls-kt device server on top of modbus-rtu/modbus-tcp protocols
""".trimIndent()
dependencies {
api(projects.controlsCore)
2023-10-20 10:14:14 +03:00
api("com.ghgande:j2mod:3.2.0")
2023-05-03 11:05:54 +03:00
}
2023-08-23 16:21:11 +03:00
readme{
maturity = Maturity.EXPERIMENTAL
feature("modbusRegistryMap", ref = "src/main/kotlin/space/kscience/controls/modbus/ModbusRegistryMap.kt"){
"""
Type-safe modbus registry map. Allows to define both single-register and multi-register entries (using DataForge IO).
Automatically checks consistency.
""".trimIndent()
}
feature("modbusProcessImage", ref = "src/main/kotlin/space/kscience/controls/modbus/DeviceProcessImage.kt"){
"""
Binding of slave (server) modbus device to Controls-kt device
""".trimIndent()
}
feature("modbusDevice", ref = "src/main/kotlin/space/kscience/controls/modbus/ModbusDevice.kt"){
"""
A device with additional methods to work with modbus registers.
""".trimIndent()
}
}