Update boofcv, netty, ktor dependencies

boofcv 1.1.6 to 1.1.7
netty 4.1.114.Final to 4.1.115.Final
ktor 2.3.12 to 3.0.1

Fix related deprecations in orx-rabbit-control
This commit is contained in:
Abe Pazos
2024-11-14 16:50:03 +01:00
parent 7b434c6449
commit 56928057e0
5 changed files with 7 additions and 12 deletions

View File

@@ -11,7 +11,7 @@ kotest = "5.9.1"
dokka = "1.7.10" dokka = "1.7.10"
nebulaRelease = "18.0.7" nebulaRelease = "18.0.7"
gradleNexusPublish = "2.0.0" gradleNexusPublish = "2.0.0"
boofcv = "1.1.6" boofcv = "1.1.7"
kluent = "1.73" kluent = "1.73"
junitJupiter = "5.11.2" junitJupiter = "5.11.2"
slf4j = "2.0.16" slf4j = "2.0.16"
@@ -22,10 +22,10 @@ antlr = "4.13.2"
antlrKotlin = "1.0.1" antlrKotlin = "1.0.1"
tensorflow = "0.5.0" tensorflow = "0.5.0"
minim = "2.2.2" minim = "2.2.2"
netty = "4.1.114.Final" netty = "4.1.115.Final"
rabbitcontrol = "0.3.39" rabbitcontrol = "0.3.39"
zxing = "3.5.3" zxing = "3.5.3"
ktor = "2.3.12" ktor = "3.0.1"
jgit = "7.0.0.202409031743-r" jgit = "7.0.0.202409031743-r"
javaosc = "0.9" javaosc = "0.9"
jsoup = "1.18.1" jsoup = "1.18.1"

View File

@@ -1,7 +1,6 @@
import org.openrndr.application import org.openrndr.application
import org.openrndr.color.ColorRGBa import org.openrndr.color.ColorRGBa
import org.openrndr.draw.loadFont import org.openrndr.draw.loadFont
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.parameters.* import org.openrndr.extra.parameters.*
import org.openrndr.math.Vector2 import org.openrndr.math.Vector2
import org.openrndr.math.Vector3 import org.openrndr.math.Vector3

View File

@@ -1,8 +1,7 @@
import org.openrndr.KEY_HOME import org.openrndr.KEY_HOME
import org.openrndr.application import org.openrndr.application
import org.openrndr.color.ColorRGBa import org.openrndr.color.ColorRGBa
import org.openrndr.extensions.SingleScreenshot import org.openrndr.extra.parameters.BooleanParameter
import org.openrndr.extra.parameters.*
fun main() = application { fun main() = application {

View File

@@ -1,7 +1,6 @@
import org.openrndr.application import org.openrndr.application
import org.openrndr.color.ColorRGBa import org.openrndr.color.ColorRGBa
import org.openrndr.draw.loadFont import org.openrndr.draw.loadFont
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.parameters.* import org.openrndr.extra.parameters.*
import org.openrndr.math.Vector2 import org.openrndr.math.Vector2
import org.openrndr.math.Vector3 import org.openrndr.math.Vector3

View File

@@ -87,13 +87,11 @@ class RabbitControlServer(private val showQRUntilClientConnects: Boolean = true,
*/ */
val server = embeddedServer(Netty, port = staticFilesPort) { val server = embeddedServer(Netty, port = staticFilesPort) {
routing { routing {
static("/rabbit-client") { staticResources("/rabbit-client", "rabbit-client")
resources("rabbit-client")
}
} }
} }
server.start() server.start()
webServer = server webServer = server.engine
/** /**
* Print the address * Print the address
@@ -108,7 +106,7 @@ class RabbitControlServer(private val showQRUntilClientConnects: Boolean = true,
/** /**
* Update the object when it has been updated in RabbitControl * Update the object when it has been updated in RabbitControl
*/ */
rabbitServer.setUpdateListener { rabbitServer.addUpdateListener {
val (obj, orxParameter) = parameterMap[it]!! val (obj, orxParameter) = parameterMap[it]!!
when(it) { when(it) {
is Int32Parameter -> { is Int32Parameter -> {