Kafka 4.1 requires java 11 (#14575)
This commit is contained in:
parent
3998e96c75
commit
900e6e55f3
|
|
@ -66,3 +66,12 @@ tasks {
|
||||||
dependsOn(testPropagationDisabled, testReceiveSpansDisabled)
|
dependsOn(testPropagationDisabled, testReceiveSpansDisabled)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
val latestDepTest = findProperty("testLatestDeps") as Boolean
|
||||||
|
|
||||||
|
// kafka 4.1 requires java 11
|
||||||
|
if (latestDepTest) {
|
||||||
|
otelJava {
|
||||||
|
minJavaVersionSupported.set(JavaVersion.VERSION_11)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -45,3 +45,12 @@ tasks {
|
||||||
dependsOn(testReceiveSpansDisabled)
|
dependsOn(testReceiveSpansDisabled)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
val latestDepTest = findProperty("testLatestDeps") as Boolean
|
||||||
|
|
||||||
|
// kafka 4.1 requires java 11
|
||||||
|
if (latestDepTest) {
|
||||||
|
otelJava {
|
||||||
|
minJavaVersionSupported.set(JavaVersion.VERSION_11)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue