aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/gradle')
-rw-r--r--integration-tests/gradle/build.gradle.kts4
1 files changed, 3 insertions, 1 deletions
diff --git a/integration-tests/gradle/build.gradle.kts b/integration-tests/gradle/build.gradle.kts
index f47ef670..ffc025de 100644
--- a/integration-tests/gradle/build.gradle.kts
+++ b/integration-tests/gradle/build.gradle.kts
@@ -22,6 +22,8 @@ tasks.integrationTest {
javaLauncher.set(javaToolchains.launcherFor {
// kotlinx.coroutines requires Java 11+
- languageVersion.set(JavaLanguageVersion.of(11))
+ languageVersion.set(dokkaBuild.testJavaLauncherVersion.map {
+ maxOf(it, JavaLanguageVersion.of(11))
+ })
})
}