Skip to content

Commit

Permalink
Update boofcv, netty, ktor dependencies
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hamoid committed Nov 14, 2024
1 parent 7b434c6 commit 5692805
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ kotest = "5.9.1"
dokka = "1.7.10"
nebulaRelease = "18.0.7"
gradleNexusPublish = "2.0.0"
boofcv = "1.1.6"
boofcv = "1.1.7"
kluent = "1.73"
junitJupiter = "5.11.2"
slf4j = "2.0.16"
Expand All @@ -22,10 +22,10 @@ antlr = "4.13.2"
antlrKotlin = "1.0.1"
tensorflow = "0.5.0"
minim = "2.2.2"
netty = "4.1.114.Final"
netty = "4.1.115.Final"
rabbitcontrol = "0.3.39"
zxing = "3.5.3"
ktor = "2.3.12"
ktor = "3.0.1"
jgit = "7.0.0.202409031743-r"
javaosc = "0.9"
jsoup = "1.18.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.draw.loadFont
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.parameters.*
import org.openrndr.math.Vector2
import org.openrndr.math.Vector3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import org.openrndr.KEY_HOME
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.parameters.*
import org.openrndr.extra.parameters.BooleanParameter


fun main() = application {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.draw.loadFont
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.parameters.*
import org.openrndr.math.Vector2
import org.openrndr.math.Vector3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,11 @@ class RabbitControlServer(private val showQRUntilClientConnects: Boolean = true,
*/
val server = embeddedServer(Netty, port = staticFilesPort) {
routing {
static("/rabbit-client") {
resources("rabbit-client")
}
staticResources("/rabbit-client", "rabbit-client")
}
}
server.start()
webServer = server
webServer = server.engine

/**
* Print the address
Expand All @@ -108,7 +106,7 @@ class RabbitControlServer(private val showQRUntilClientConnects: Boolean = true,
/**
* Update the object when it has been updated in RabbitControl
*/
rabbitServer.setUpdateListener {
rabbitServer.addUpdateListener {
val (obj, orxParameter) = parameterMap[it]!!
when(it) {
is Int32Parameter -> {
Expand Down

0 comments on commit 5692805

Please sign in to comment.