Compare commits
2 Commits
4639fdb558
...
8965629151
Author | SHA1 | Date | |
---|---|---|---|
8965629151 | |||
9a40d4f340 |
@ -6,11 +6,6 @@ plugins {
|
|||||||
id("space.kscience.gradle.project")
|
id("space.kscience.gradle.project")
|
||||||
}
|
}
|
||||||
|
|
||||||
val dataforgeVersion: String by extra("0.6.2-dev-3")
|
|
||||||
val ktorVersion: String by extra(space.kscience.gradle.KScienceVersions.ktorVersion)
|
|
||||||
val rsocketVersion by extra("0.15.4")
|
|
||||||
val xodusVersion by extra("2.0.1")
|
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group = "space.kscience"
|
group = "space.kscience"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
|
@ -21,7 +21,7 @@ kscience {
|
|||||||
}
|
}
|
||||||
useContextReceivers()
|
useContextReceivers()
|
||||||
dependencies {
|
dependencies {
|
||||||
api("space.kscience:dataforge-io:$dataforgeVersion")
|
api(libs.dataforge.io)
|
||||||
api(spclibs.kotlinx.datetime)
|
api(spclibs.kotlinx.datetime)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ kscience {
|
|||||||
dependencies {
|
dependencies {
|
||||||
api(projects.magix.magixApi)
|
api(projects.magix.magixApi)
|
||||||
api(projects.controlsCore)
|
api(projects.controlsCore)
|
||||||
api("com.benasher44:uuid:0.8.0")
|
api(libs.uuid)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,11 +9,9 @@ description = """
|
|||||||
Implementation of byte ports on top os ktor-io asynchronous API
|
Implementation of byte ports on top os ktor-io asynchronous API
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
|
|
||||||
val ktorVersion: String by rootProject.extra
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(projects.controlsCore)
|
api(projects.controlsCore)
|
||||||
api("io.ktor:ktor-network:$ktorVersion")
|
api(spclibs.ktor.network)
|
||||||
}
|
}
|
||||||
|
|
||||||
readme{
|
readme{
|
||||||
|
@ -9,7 +9,7 @@ description = "Implementation of direct serial port communication with JSerialCo
|
|||||||
|
|
||||||
dependencies{
|
dependencies{
|
||||||
api(project(":controls-core"))
|
api(project(":controls-core"))
|
||||||
implementation("com.fazecast:jSerialComm:2.10.3")
|
implementation(libs.jSerialComm)
|
||||||
}
|
}
|
||||||
|
|
||||||
readme{
|
readme{
|
||||||
|
@ -9,19 +9,16 @@ description = """
|
|||||||
A combined Magix event loop server with web server for visualization.
|
A combined Magix event loop server with web server for visualization.
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
|
|
||||||
val dataforgeVersion: String by rootProject.extra
|
|
||||||
val ktorVersion: String by rootProject.extra
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.controlsCore)
|
implementation(projects.controlsCore)
|
||||||
implementation(projects.controlsPortsKtor)
|
implementation(projects.controlsPortsKtor)
|
||||||
implementation(projects.magix.magixServer)
|
implementation(projects.magix.magixServer)
|
||||||
implementation("io.ktor:ktor-server-cio:$ktorVersion")
|
implementation(spclibs.ktor.server.cio)
|
||||||
implementation("io.ktor:ktor-server-websockets:$ktorVersion")
|
implementation(spclibs.ktor.server.websockets)
|
||||||
implementation("io.ktor:ktor-server-content-negotiation:$ktorVersion")
|
implementation(spclibs.ktor.server.content.negotiation)
|
||||||
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
|
implementation(spclibs.ktor.serialization.kotlinx.json)
|
||||||
implementation("io.ktor:ktor-server-html-builder:$ktorVersion")
|
implementation(spclibs.ktor.server.html.builder)
|
||||||
implementation("io.ktor:ktor-server-status-pages:$ktorVersion")
|
implementation(spclibs.ktor.server.status.pages)
|
||||||
}
|
}
|
||||||
|
|
||||||
readme{
|
readme{
|
||||||
|
@ -3,15 +3,13 @@ plugins {
|
|||||||
`maven-publish`
|
`maven-publish`
|
||||||
}
|
}
|
||||||
|
|
||||||
val xodusVersion: String by rootProject.extra
|
|
||||||
|
|
||||||
description = """
|
description = """
|
||||||
An implementation of controls-storage on top of JetBrains Xodus.
|
An implementation of controls-storage on top of JetBrains Xodus.
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(projects.controlsStorage)
|
api(projects.controlsStorage)
|
||||||
implementation("org.jetbrains.xodus:xodus-entity-store:$xodusVersion")
|
implementation(libs.xodus.entity.store)
|
||||||
// implementation("org.jetbrains.xodus:xodus-environment:$xodusVersion")
|
// implementation("org.jetbrains.xodus:xodus-environment:$xodusVersion")
|
||||||
// implementation("org.jetbrains.xodus:xodus-vfs:$xodusVersion")
|
// implementation("org.jetbrains.xodus:xodus-vfs:$xodusVersion")
|
||||||
|
|
||||||
|
@ -10,9 +10,6 @@ repositories {
|
|||||||
maven("https://repo.kotlin.link")
|
maven("https://repo.kotlin.link")
|
||||||
}
|
}
|
||||||
|
|
||||||
val ktorVersion: String by rootProject.extra
|
|
||||||
val rsocketVersion: String by rootProject.extra
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.controlsCore)
|
implementation(projects.controlsCore)
|
||||||
//implementation(projects.controlsServer)
|
//implementation(projects.controlsServer)
|
||||||
@ -22,9 +19,9 @@ dependencies {
|
|||||||
implementation(projects.magix.magixZmq)
|
implementation(projects.magix.magixZmq)
|
||||||
implementation(projects.controlsOpcua)
|
implementation(projects.controlsOpcua)
|
||||||
|
|
||||||
implementation("io.ktor:ktor-client-cio:$ktorVersion")
|
implementation(spclibs.ktor.client.cio)
|
||||||
implementation("no.tornado:tornadofx:1.7.20")
|
implementation(libs.tornadofx)
|
||||||
implementation("space.kscience:plotlykt-server:0.5.3")
|
implementation(libs.plotlykt.server)
|
||||||
// implementation("com.github.Ricky12Awesome:json-schema-serialization:0.6.6")
|
// implementation("com.github.Ricky12Awesome:json-schema-serialization:0.6.6")
|
||||||
implementation(spclibs.logback.classic)
|
implementation(spclibs.logback.classic)
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,6 @@ repositories {
|
|||||||
maven("https://repo.kotlin.link")
|
maven("https://repo.kotlin.link")
|
||||||
}
|
}
|
||||||
|
|
||||||
val ktorVersion: String by rootProject.extra
|
|
||||||
val rsocketVersion: String by rootProject.extra
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.controlsCore)
|
implementation(projects.controlsCore)
|
||||||
implementation(projects.magix.magixApi)
|
implementation(projects.magix.magixApi)
|
||||||
@ -24,14 +21,14 @@ dependencies {
|
|||||||
implementation(projects.magix.magixStorage.magixStorageXodus)
|
implementation(projects.magix.magixStorage.magixStorageXodus)
|
||||||
// implementation(projects.controlsMongo)
|
// implementation(projects.controlsMongo)
|
||||||
|
|
||||||
implementation("io.ktor:ktor-client-cio:$ktorVersion")
|
implementation(spclibs.ktor.client.cio)
|
||||||
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.3.1")
|
implementation(spclibs.kotlinx.datetime)
|
||||||
implementation("no.tornado:tornadofx:1.7.20")
|
implementation(libs.tornadofx)
|
||||||
implementation("space.kscience:plotlykt-server:0.5.0")
|
implementation(libs.plotlykt.server)
|
||||||
implementation("ch.qos.logback:logback-classic:1.2.11")
|
implementation(libs.logback.classic)
|
||||||
implementation("org.jetbrains.xodus:xodus-entity-store:1.3.232")
|
implementation(libs.xodus.entity.store)
|
||||||
implementation("org.jetbrains.xodus:xodus-environment:1.3.232")
|
implementation(libs.xodus.environment)
|
||||||
implementation("org.jetbrains.xodus:xodus-vfs:1.3.232")
|
implementation(libs.xodus.vfs)
|
||||||
// implementation("org.litote.kmongo:kmongo-coroutine-serialization:4.4.0")
|
// implementation("org.litote.kmongo:kmongo-coroutine-serialization:4.4.0")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,16 +8,13 @@ repositories {
|
|||||||
maven("https://repo.kotlin.link")
|
maven("https://repo.kotlin.link")
|
||||||
}
|
}
|
||||||
|
|
||||||
val ktorVersion: String by rootProject.extra
|
|
||||||
val rsocketVersion: String by rootProject.extra
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.magix.magixServer)
|
implementation(projects.magix.magixServer)
|
||||||
implementation(projects.magix.magixRsocket)
|
implementation(projects.magix.magixRsocket)
|
||||||
implementation(projects.magix.magixZmq)
|
implementation(projects.magix.magixZmq)
|
||||||
implementation("io.ktor:ktor-client-cio:$ktorVersion")
|
implementation(spclibs.ktor.client.cio)
|
||||||
|
|
||||||
implementation("ch.qos.logback:logback-classic:1.2.11")
|
implementation(libs.logback.classic)
|
||||||
}
|
}
|
||||||
kotlin{
|
kotlin{
|
||||||
jvmToolchain(11)
|
jvmToolchain(11)
|
||||||
|
@ -9,17 +9,14 @@ repositories {
|
|||||||
maven("https://repo.kotlin.link")
|
maven("https://repo.kotlin.link")
|
||||||
}
|
}
|
||||||
|
|
||||||
val ktorVersion: String by rootProject.extra
|
|
||||||
val rsocketVersion: String by rootProject.extra
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.magix.magixServer)
|
implementation(projects.magix.magixServer)
|
||||||
implementation(projects.controlsMagix)
|
implementation(projects.controlsMagix)
|
||||||
implementation(projects.magix.magixRsocket)
|
implementation(projects.magix.magixRsocket)
|
||||||
implementation(projects.magix.magixZmq)
|
implementation(projects.magix.magixZmq)
|
||||||
|
|
||||||
implementation("io.ktor:ktor-client-cio:$ktorVersion")
|
implementation(spclibs.ktor.client.cio)
|
||||||
implementation("space.kscience:plotlykt-server:0.6.0")
|
implementation(libs.plotlykt.server)
|
||||||
implementation(spclibs.logback.classic)
|
implementation(spclibs.logback.classic)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,5 +25,5 @@ val dataforgeVersion: String by extra
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":controls-ports-ktor"))
|
implementation(project(":controls-ports-ktor"))
|
||||||
implementation(projects.controlsMagix)
|
implementation(projects.controlsMagix)
|
||||||
implementation("no.tornado:tornadofx:1.7.20")
|
implementation(libs.tornadofx)
|
||||||
}
|
}
|
||||||
|
49
gradle/libs.versions.toml
Normal file
49
gradle/libs.versions.toml
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
[versions]
|
||||||
|
|
||||||
|
dataforge = "0.6.2-dev-3"
|
||||||
|
rsocket = "0.15.4"
|
||||||
|
xodus = "2.0.1"
|
||||||
|
|
||||||
|
uuid = "0.8.0"
|
||||||
|
|
||||||
|
fazecast = "2.10.3"
|
||||||
|
|
||||||
|
tornadofx = "1.7.20"
|
||||||
|
|
||||||
|
plotlykt = "0.5.3"
|
||||||
|
|
||||||
|
logback = "1.2.11"
|
||||||
|
|
||||||
|
hivemq = "1.3.1"
|
||||||
|
|
||||||
|
rabbitmq = "5.14.2"
|
||||||
|
|
||||||
|
kmongo = "4.5.1"
|
||||||
|
|
||||||
|
[libraries]
|
||||||
|
|
||||||
|
dataforge-io = { module = "space.kscience:dataforge-io", version.ref = "dataforge" }
|
||||||
|
|
||||||
|
uuid = { module = "com.benasher44:uuid", version.ref = "uuid" }
|
||||||
|
|
||||||
|
xodus-entity-store = { module = "org.jetbrains.xodus:xodus-entity-store", version.ref = "xodus" }
|
||||||
|
xodus-environment = { module = "org.jetbrains.xodus:xodus-environment", version.ref = "xodus" }
|
||||||
|
xodus-vfs = { module = "org.jetbrains.xodus:xodus-vfs", version.ref = "xodus" }
|
||||||
|
|
||||||
|
rsocket-ktor-client = { module = "io.rsocket.kotlin:rsocket-ktor-client", version.ref = "rsocket" }
|
||||||
|
rsocket-ktor-server = { module = "io.rsocket.kotlin:rsocket-ktor-server", version.ref = "rsocket" }
|
||||||
|
rsocket-transport-ktor-tcp = { module = "io.rsocket.kotlin:rsocket-transport-ktor-tcp", version.ref = "rsocket" }
|
||||||
|
|
||||||
|
jSerialComm = { module = "com.fazecast:jSerialComm", version.ref = "fazecast" }
|
||||||
|
|
||||||
|
tornadofx = { module = "no.tornado:tornadofx", version.ref = "tornadofx" }
|
||||||
|
|
||||||
|
plotlykt-server = { module = "space.kscience:plotlykt-server", version.ref = "plotlykt" }
|
||||||
|
|
||||||
|
logback-classic = { module = "ch.qos.logback:logback-classic", version.ref = "logback" }
|
||||||
|
|
||||||
|
hivemq-mqtt-client = { module = "com.hivemq:hivemq-mqtt-client", version.ref = "hivemq" }
|
||||||
|
|
||||||
|
rabbitmq-amqp-client = { module = "com.rabbitmq:amqp-client", version.ref = "rabbitmq" }
|
||||||
|
|
||||||
|
kmongo-coroutine-serialization = { module = "org.litote.kmongo:kmongo-coroutine-serialization", version.ref = "kmongo" }
|
@ -14,7 +14,7 @@ description = """
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":magix:magix-rsocket"))
|
implementation(project(":magix:magix-rsocket"))
|
||||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk9:${KScienceVersions.coroutinesVersion}")
|
implementation(spclibs.kotlinx.coroutines.jdk9)
|
||||||
}
|
}
|
||||||
|
|
||||||
//java {
|
//java {
|
||||||
|
@ -9,7 +9,7 @@ description = """
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(projects.magix.magixApi)
|
api(projects.magix.magixApi)
|
||||||
implementation("com.hivemq:hivemq-mqtt-client:1.3.1")
|
implementation(libs.hivemq.mqtt.client)
|
||||||
implementation(spclibs.kotlinx.coroutines.jdk8)
|
implementation(spclibs.kotlinx.coroutines.jdk8)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ description = """
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(projects.magix.magixApi)
|
api(projects.magix.magixApi)
|
||||||
implementation("com.rabbitmq:amqp-client:5.14.2")
|
implementation(libs.rabbitmq.amqp.client)
|
||||||
}
|
}
|
||||||
|
|
||||||
readme{
|
readme{
|
||||||
|
@ -10,7 +10,6 @@ description = """
|
|||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
|
|
||||||
val ktorVersion: String by rootProject.extra
|
val ktorVersion: String by rootProject.extra
|
||||||
val rsocketVersion: String by rootProject.extra
|
|
||||||
|
|
||||||
kscience {
|
kscience {
|
||||||
jvm()
|
jvm()
|
||||||
@ -21,11 +20,11 @@ kscience {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
api(projects.magix.magixApi)
|
api(projects.magix.magixApi)
|
||||||
implementation("io.ktor:ktor-client-core:$ktorVersion")
|
implementation(spclibs.ktor.client.core)
|
||||||
implementation("io.rsocket.kotlin:rsocket-ktor-client:$rsocketVersion")
|
implementation(libs.rsocket.ktor.client)
|
||||||
}
|
}
|
||||||
dependencies(jvmMain) {
|
dependencies(jvmMain) {
|
||||||
implementation("io.rsocket.kotlin:rsocket-transport-ktor-tcp:$rsocketVersion")
|
implementation(libs.rsocket.transport.ktor.tcp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -33,7 +32,7 @@ kotlin {
|
|||||||
sourceSets {
|
sourceSets {
|
||||||
getByName("linuxX64Main") {
|
getByName("linuxX64Main") {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("io.rsocket.kotlin:rsocket-transport-ktor-tcp:$rsocketVersion")
|
implementation(libs.rsocket.transport.ktor.tcp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,6 @@ kscience {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val dataforgeVersion: String by rootProject.extra
|
val dataforgeVersion: String by rootProject.extra
|
||||||
val rsocketVersion: String by rootProject.extra
|
|
||||||
val ktorVersion: String = space.kscience.gradle.KScienceVersions.ktorVersion
|
val ktorVersion: String = space.kscience.gradle.KScienceVersions.ktorVersion
|
||||||
|
|
||||||
dependencies{
|
dependencies{
|
||||||
@ -28,8 +27,8 @@ dependencies{
|
|||||||
api("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
|
api("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
|
||||||
api("io.ktor:ktor-server-html-builder:$ktorVersion")
|
api("io.ktor:ktor-server-html-builder:$ktorVersion")
|
||||||
|
|
||||||
api("io.rsocket.kotlin:rsocket-ktor-server:$rsocketVersion")
|
api(libs.rsocket.ktor.server)
|
||||||
api("io.rsocket.kotlin:rsocket-transport-ktor-tcp:$rsocketVersion")
|
api(libs.rsocket.transport.ktor.tcp)
|
||||||
}
|
}
|
||||||
|
|
||||||
readme{
|
readme{
|
||||||
|
@ -3,11 +3,9 @@ plugins {
|
|||||||
`maven-publish`
|
`maven-publish`
|
||||||
}
|
}
|
||||||
|
|
||||||
val kmongoVersion = "4.5.1"
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.controlsStorage)
|
implementation(projects.controlsStorage)
|
||||||
implementation("org.litote.kmongo:kmongo-coroutine-serialization:$kmongoVersion")
|
implementation(libs.kmongo.coroutine.serialization)
|
||||||
}
|
}
|
||||||
|
|
||||||
readme{
|
readme{
|
||||||
|
@ -3,15 +3,13 @@ plugins {
|
|||||||
`maven-publish`
|
`maven-publish`
|
||||||
}
|
}
|
||||||
|
|
||||||
val xodusVersion: String by rootProject.extra
|
|
||||||
|
|
||||||
kscience {
|
kscience {
|
||||||
useCoroutines()
|
useCoroutines()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(projects.magix.magixStorage)
|
api(projects.magix.magixStorage)
|
||||||
implementation("org.jetbrains.xodus:xodus-entity-store:$xodusVersion")
|
implementation(libs.xodus.entity.store)
|
||||||
// implementation("org.jetbrains.xodus:dnq:2.0.0")
|
// implementation("org.jetbrains.xodus:dnq:2.0.0")
|
||||||
|
|
||||||
testImplementation(spclibs.kotlinx.coroutines.test)
|
testImplementation(spclibs.kotlinx.coroutines.test)
|
||||||
|
@ -35,6 +35,19 @@ dependencyResolutionManagement {
|
|||||||
versionCatalogs {
|
versionCatalogs {
|
||||||
create("spclibs") {
|
create("spclibs") {
|
||||||
from("space.kscience:version-catalog:$toolsVersion")
|
from("space.kscience:version-catalog:$toolsVersion")
|
||||||
|
|
||||||
|
library("kotlinx-coroutines-jdk9", "org.jetbrains.kotlinx", "kotlinx-coroutines-jdk9").versionRef("kotlinx-coroutines")
|
||||||
|
|
||||||
|
library("ktor-client-core", "io.ktor", "ktor-client-core").versionRef("ktor")
|
||||||
|
library("ktor-client-cio", "io.ktor", "ktor-client-cio").versionRef("ktor")
|
||||||
|
library("ktor-network", "io.ktor", "ktor-network").versionRef("ktor")
|
||||||
|
library("ktor-serialization-kotlinx-json", "io.ktor", "ktor-serialization-kotlinx-json").versionRef("ktor")
|
||||||
|
|
||||||
|
library("ktor-server-cio", "io.ktor", "ktor-server-cio").versionRef("ktor")
|
||||||
|
library("ktor-server-websockets", "io.ktor", "ktor-server-websockets").versionRef("ktor")
|
||||||
|
library("ktor-server-content-negotiation", "io.ktor", "ktor-server-content-negotiation").versionRef("ktor")
|
||||||
|
library("ktor-server-html-builder", "io.ktor", "ktor-server-html-builder").versionRef("ktor")
|
||||||
|
library("ktor-server-status-pages", "io.ktor", "ktor-server-status-pages").versionRef("ktor")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user