Skip to content

Commit

Permalink
Fixed GHSA-55g7-9cwv-5qfv with overriding transient from org.apache.k…
Browse files Browse the repository at this point in the history
…afka:kafka_2.12
  • Loading branch information
MikAoJk committed Sep 27, 2023
1 parent adec61c commit 9ec9d89
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ val postgresVersion = "42.6.0"
val embeddedPostgresVersion = "2.0.4"
val commonsCodecVersion = "1.16.0"
val ktfmtVersion = "0.44"
val snappyJavaVersion = "1.1.10.4"

plugins {
id("application")
Expand Down Expand Up @@ -75,6 +76,11 @@ dependencies {
implementation("net.logstash.logback:logstash-logback-encoder:$logstashEncoderVersion")

implementation("org.apache.kafka:kafka_2.12:$kafkaVersion")
constraints {
implementation("org.xerial.snappy:snappy-java:$snappyJavaVersion") {
because("override transient from org.apache.kafka:kafka_2.12")
}
}

implementation("com.fasterxml.jackson.module:jackson-module-jaxb-annotations:$jacksonVersion")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonVersion")
Expand Down

0 comments on commit 9ec9d89

Please sign in to comment.