diff --git a/build.gradle.kts b/build.gradle.kts index cef2f424..57ecada5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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") @@ -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")