Skip to content

Commit 43a2052

Browse files
committed
chore: bumped ktor to 3.1.0
1 parent be9b4f6 commit 43a2052

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

build.gradle.kts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ val jaxbApiVersion = "2.4.0-b180830.0359"
1010
val jaxbVersion = "2.3.0.1"
1111
val kafkaVersion = "3.9.0"
1212
val syfoXmlCodegenVersion = "2.0.1"
13-
val ktorVersion = "3.0.3"
13+
val ktorVersion = "3.1.0"
1414
val logbackVersion = "1.5.16"
1515
val logstashEncoderVersion = "8.0"
1616
val prometheusVersion = "0.16.0"
@@ -22,6 +22,7 @@ val ktfmtVersion = "0.44"
2222
val snappyJavaVersion = "1.1.10.7"
2323
val opentelemetryVersion = "2.12.0"
2424
val ibmMqVersion = "9.4.1.1"
25+
val nettyHandlerVersion = "4.1.118.Final"
2526

2627
plugins {
2728
id("application")
@@ -50,6 +51,13 @@ dependencies {
5051

5152
implementation("io.ktor:ktor-server-core:$ktorVersion")
5253
implementation("io.ktor:ktor-server-netty:$ktorVersion")
54+
{
55+
constraints {
56+
implementation("io.netty:netty-handler:$nettyHandlerVersion") {
57+
because("Due to vulnerabilities in io.ktor:ktor-server-netty")
58+
}
59+
}
60+
}
5361

5462
implementation("ch.qos.logback:logback-classic:$logbackVersion")
5563
implementation("net.logstash.logback:logstash-logback-encoder:$logstashEncoderVersion")

0 commit comments

Comments
 (0)