Fix gwt latest dep tests (#12535)
This commit is contained in:
parent
61c99cf73d
commit
6daf564866
|
@ -88,6 +88,12 @@ tasks {
|
||||||
classpath(sourceSets["testapp"].java.srcDirs, sourceSets["testapp"].compileClasspath)
|
classpath(sourceSets["testapp"].java.srcDirs, sourceSets["testapp"].compileClasspath)
|
||||||
|
|
||||||
argumentProviders.add(CompilerArgumentsProvider())
|
argumentProviders.add(CompilerArgumentsProvider())
|
||||||
|
|
||||||
|
if (findProperty("testLatestDeps") as Boolean) {
|
||||||
|
javaLauncher.set(project.javaToolchains.launcherFor {
|
||||||
|
languageVersion = JavaLanguageVersion.of(11)
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val copyTestWebapp by registering(Copy::class) {
|
val copyTestWebapp by registering(Copy::class) {
|
||||||
|
|
Loading…
Reference in New Issue