Skip to content

Commit 6daf564

Browse files
authored
Fix gwt latest dep tests (#12535)
1 parent 61c99cf commit 6daf564

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

instrumentation/gwt-2.0/javaagent/build.gradle.kts

+6
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ tasks {
8888
classpath(sourceSets["testapp"].java.srcDirs, sourceSets["testapp"].compileClasspath)
8989

9090
argumentProviders.add(CompilerArgumentsProvider())
91+
92+
if (findProperty("testLatestDeps") as Boolean) {
93+
javaLauncher.set(project.javaToolchains.launcherFor {
94+
languageVersion = JavaLanguageVersion.of(11)
95+
})
96+
}
9197
}
9298

9399
val copyTestWebapp by registering(Copy::class) {

0 commit comments

Comments
 (0)