Skip to content

Commit

Permalink
Update toolchain for acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
welandaz committed Nov 14, 2024
1 parent 3af21c0 commit c8f83db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion acceptance-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ val ciJenkinsBuild: Boolean by (gradle as ExtensionAware).extra

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
languageVersion.set(JavaLanguageVersion.of(17))
}
}

Expand Down
5 changes: 1 addition & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jenkinsPlugin {

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
languageVersion.set(JavaLanguageVersion.of(11))
}

registerFeature("optionalPlugin") {
Expand All @@ -91,9 +91,6 @@ val includedLibs: Configuration by configurations.creating
val gradlePluginJpi: Configuration by configurations.creating { isCanBeConsumed = true; isCanBeResolved = false }

dependencies {
"codenarc"("org.codehaus.groovy:groovy-all:3.0.21")
"codenarc"("org.codenarc:CodeNarc:1.6.1")

api(platform("io.jenkins.tools.bom:bom-${coreBaseVersion}.x:${coreBomVersion}"))

implementation("org.jenkins-ci.plugins:jackson2-api")
Expand Down

0 comments on commit c8f83db

Please sign in to comment.