We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 360b528 commit 78aef6aCopy full SHA for 78aef6a
build.gradle.kts
@@ -27,6 +27,16 @@ subprojects {
27
apply(plugin = "org.hypertrace.code-style-plugin")
28
}
29
30
+
31
+ // Handle lz4-java redirect capability conflict:
32
+ // Sonatype added a redirect from org.lz4:lz4-java:1.8.1 -> at.yawk.lz4:lz4-java:1.8.1 to address CVE-2025-12183.
33
+ // Both artifacts declare the same capability, causing a conflict when upgrading from Kafka's org.lz4:lz4-java:1.8.0.
34
+ // This resolution strategy tells Gradle to automatically select the highest version when this conflict occurs.
35
+ configurations.all {
36
+ resolutionStrategy.capabilitiesResolution.withCapability("org.lz4:lz4-java") {
37
+ selectHighestVersion()
38
+ }
39
40
41
42
dependencyCheck {
0 commit comments