Skip to content

Commit fa248d7

Browse files
committed
fix: vertx-web-5.0 now uses configureCompiler
1 parent 3170956 commit fa248d7

File tree

1 file changed

+4
-6
lines changed
  • dd-java-agent/instrumentation/vertx/vertx-web/vertx-web-5.0

1 file changed

+4
-6
lines changed

dd-java-agent/instrumentation/vertx/vertx-web/vertx-web-5.0/build.gradle

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ configurations {
2222
testArtifacts
2323
}
2424

25-
java {
26-
toolchain {
27-
languageVersion.set(JavaLanguageVersion.of(11))
28-
}
29-
}
30-
3125
// Create test artifacts so vertx-rx can reuse the server test instrumentation and base class
3226
artifacts {
3327
testArtifacts testJar
@@ -58,3 +52,7 @@ dependencies {
5852
latestDepTestImplementation group: 'io.vertx', name: 'vertx-web', version: '+'
5953
latestDepTestImplementation group: 'io.vertx', name: 'vertx-web-client', version: '+'
6054
}
55+
56+
tasks.named("compileJava", JavaCompile) {
57+
configureCompiler(it, 11, JavaVersion.VERSION_1_8)
58+
}

0 commit comments

Comments
 (0)