Skip to content

Commit

Permalink
set test Java Launcher toolchain to 11
Browse files Browse the repository at this point in the history
  • Loading branch information
aSemy committed Mar 7, 2023
1 parent 2e78b7b commit 1bbbd9b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions integration-tests/gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ tasks.integrationTest {
environment("DOKKA_VERSION", dokka_version)
inputs.dir(file("projects"))
dependsOnMavenLocalPublication()

javaLauncher.set(javaToolchains.launcherFor {
// kotlinx.coroutines requires Java 11+
languageVersion.set(JavaLanguageVersion.of(11))
})
}

tasks.clean {
Expand Down

0 comments on commit 1bbbd9b

Please sign in to comment.