From c8f83db53eefc56e00dc39e98bc4cceb51e57a13 Mon Sep 17 00:00:00 2001 From: Iurii Ignatko Date: Thu, 14 Nov 2024 12:04:53 +0100 Subject: [PATCH] Update toolchain for acceptance tests --- acceptance-tests/build.gradle.kts | 2 +- build.gradle.kts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/acceptance-tests/build.gradle.kts b/acceptance-tests/build.gradle.kts index 2dc9beaa..473ec760 100644 --- a/acceptance-tests/build.gradle.kts +++ b/acceptance-tests/build.gradle.kts @@ -12,7 +12,7 @@ val ciJenkinsBuild: Boolean by (gradle as ExtensionAware).extra java { toolchain { - languageVersion.set(JavaLanguageVersion.of(11)) + languageVersion.set(JavaLanguageVersion.of(17)) } } diff --git a/build.gradle.kts b/build.gradle.kts index 0f712bee..a9bbf957 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -68,7 +68,7 @@ jenkinsPlugin { java { toolchain { - languageVersion.set(JavaLanguageVersion.of(17)) + languageVersion.set(JavaLanguageVersion.of(11)) } registerFeature("optionalPlugin") { @@ -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")