Fix gwt latest dep tests (#12535)

This commit is contained in:
Lauri Tulmin 2024-10-30 12:53:05 +02:00 committed by GitHub
parent 61c99cf73d
commit 6daf564866
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -88,6 +88,12 @@ tasks {
classpath(sourceSets["testapp"].java.srcDirs, sourceSets["testapp"].compileClasspath)
argumentProviders.add(CompilerArgumentsProvider())
if (findProperty("testLatestDeps") as Boolean) {
javaLauncher.set(project.javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(11)
})
}
}
val copyTestWebapp by registering(Copy::class) {