Upgrade to Kafka 4.1.2

See also https://github.com/yawkat/lz4-java/wiki/Gradle-and-org.lz4:lz4%E2%80%90java:1.8.1

Closes gh-49627
This commit is contained in:
Stéphane Nicoll
2026-03-17 16:00:21 +01:00
parent 2956d90c9a
commit 73083c2b51
2 changed files with 11 additions and 4 deletions
+10 -3
View File
@@ -371,9 +371,16 @@ configurations {
attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME))
}
extendsFrom configurations.javadoc
resolutionStrategy.eachDependency {
if (it.requested.group == 'org.opensaml') {
it.useVersion '4.0.1'
resolutionStrategy {
capabilitiesResolution {
withCapability("org.lz4:lz4-java") {
select(candidates.find { ((ModuleComponentIdentifier) it.id).group == "at.yawk.lz4" })
}
}
eachDependency {
if (it.requested.group == 'org.opensaml') {
it.useVersion '4.0.1'
}
}
}
}
@@ -1172,7 +1172,7 @@ bom {
releaseNotes("https://junit.org/junit5/docs/{version}/release-notes")
}
}
library("Kafka", "4.1.1") {
library("Kafka", "4.1.2") {
group("org.apache.kafka") {
modules = [
"connect",