Skip to content

Commit

Permalink
Bring back toolchain setup for compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
welandaz committed Nov 22, 2024
1 parent ffff483 commit f7581ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions acceptance-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ plugins {

val ciJenkinsBuild: Boolean by (gradle as ExtensionAware).extra

java {
// Only used for compilation. We don't rely on toolchain for running the tests,
// as Jenkins ATH doesn't allow to specify the JAVA_HOME.
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}

group = "org.jenkins-ci.plugins"
description = "Acceptance tests of Gradle plugin"

Expand Down

0 comments on commit f7581ed

Please sign in to comment.