From 06d3983af26a5735baddc772c9a6ab520d9f34a9 Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 25 Sep 2026 21:26:20 +0200 Subject: [PATCH] Pin netty to 4.1.138.Final in integration tests --- build.sbt | 1 + project/Dependencies.scala | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/build.sbt b/build.sbt index f423b56..776a3ef 100644 --- a/build.sbt +++ b/build.sbt @@ -130,6 +130,7 @@ lazy val k8sDnsNameResolverIt = project.in(file("k8s-dns-name-resolver-it")) "com.thesamet.scalapb" %% "scalapb-runtime-grpc" % scalapb.compiler.Version.scalapbVersion, Testcontainers.core % Test, ), + dependencyOverrides ++= Netty.all, ).dependsOn( k8sDnsNameResolver, ) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index d5009b4..1552412 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -13,6 +13,24 @@ object Dependencies { val api = "io.grpc" % "grpc-api" % version } + object Netty { + private val version = "4.1.138.Final" + + val all: Seq[ModuleID] = Seq( + "netty-buffer", + "netty-codec", + "netty-codec-http", + "netty-codec-http2", + "netty-codec-socks", + "netty-common", + "netty-handler", + "netty-handler-proxy", + "netty-resolver", + "netty-transport", + "netty-transport-native-unix-common", + ).map("io.netty" % _ % version) + } + object Slf4j { private val version = "2.0.17"