2023-08-23 16:21:11 +03:00
|
|
|
import space.kscience.gradle.Maturity
|
|
|
|
|
2021-08-03 21:05:36 +03:00
|
|
|
plugins {
|
2022-08-02 09:46:31 +03:00
|
|
|
id("space.kscience.gradle.jvm")
|
2023-05-27 19:49:25 +03:00
|
|
|
`maven-publish`
|
2021-08-03 21:05:36 +03:00
|
|
|
}
|
|
|
|
|
2023-08-23 16:21:11 +03:00
|
|
|
description = """
|
|
|
|
A client and server connectors for OPC-UA via Eclipse Milo
|
|
|
|
""".trimIndent()
|
|
|
|
|
2021-08-03 21:05:36 +03:00
|
|
|
val ktorVersion: String by rootProject.extra
|
|
|
|
|
|
|
|
dependencies {
|
2023-04-16 12:29:24 +03:00
|
|
|
api(projects.controlsCore)
|
|
|
|
api(spclibs.kotlinx.coroutines.jdk8)
|
2021-09-29 10:43:19 +03:00
|
|
|
|
2024-04-29 14:22:56 +03:00
|
|
|
api(libs.milo.client)
|
|
|
|
api(libs.milo.parser)
|
|
|
|
api(libs.milo.server)
|
2023-04-16 12:29:24 +03:00
|
|
|
|
|
|
|
testImplementation(spclibs.kotlinx.coroutines.test)
|
2021-08-03 21:05:36 +03:00
|
|
|
}
|
2023-08-23 16:21:11 +03:00
|
|
|
|
|
|
|
readme{
|
|
|
|
maturity = Maturity.EXPERIMENTAL
|
|
|
|
|
|
|
|
feature("opcuaClient", ref = "src/main/kotlin/space/kscience/controls/opcua/client"){
|
|
|
|
"""
|
|
|
|
Connect a Controls-kt as a client to OPC UA server
|
|
|
|
""".trimIndent()
|
|
|
|
}
|
|
|
|
|
|
|
|
feature("opcuaServer", ref = "src/main/kotlin/space/kscience/controls/opcua/server"){
|
|
|
|
"""
|
|
|
|
Create an OPC UA server on top of Controls-kt device (or device hub)
|
|
|
|
""".trimIndent()
|
|
|
|
}
|
|
|
|
}
|