Skip to content

Commit 2d6e5aa

Browse files
committed
fix undertow ci testLatestDeps
1 parent 7e725e7 commit 2d6e5aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

instrumentation/undertow-1.4/javaagent/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tasks.withType<Test>().configureEach {
2828
// since 2.3.x, undertow is compiled by JDK 11
2929
val latestDepTest = findProperty("testLatestDeps") as Boolean
3030
if (latestDepTest) {
31-
tasks.withType<JavaCompile>().configureEach {
32-
options.release.set(11)
31+
otelJava {
32+
minJavaVersionSupported.set(JavaVersion.VERSION_11)
3333
}
3434
}

0 commit comments

Comments
 (0)