From bc6cdef0fc25031470d03e4accbadfee48ba6bd8 Mon Sep 17 00:00:00 2001 From: Cosku Acay Date: Sat, 14 Sep 2024 13:02:02 -0700 Subject: [PATCH] Upgrade from Java 11 to Java 17 --- .github/workflows/continuous-integration.yaml | 2 +- .github/workflows/documentation.yaml | 2 +- build.gradle.kts | 2 +- examples/build.gradle.kts | 2 +- examples/settings.gradle.kts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index c7abcd1297..3fe74e2989 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ macos-latest, ubuntu-latest, windows-latest ] - java: [ 11 ] + java: [ 17 ] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index e95b270b3b..eafb6c663e 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -8,7 +8,7 @@ on: env: JDK_DISTRIBUTION: zulu - JDK_VERSION: 11 + JDK_VERSION: 17 jobs: documentation: diff --git a/build.gradle.kts b/build.gradle.kts index ec3f7dbe7b..313dadcc5f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -59,7 +59,7 @@ subprojects { configure { toolchain { - languageVersion.set(JavaLanguageVersion.of(11)) + languageVersion.set(JavaLanguageVersion.of(17)) } } diff --git a/examples/build.gradle.kts b/examples/build.gradle.kts index 28e02222c9..ec63014a3b 100644 --- a/examples/build.gradle.kts +++ b/examples/build.gradle.kts @@ -13,7 +13,7 @@ val mainPackage = "${(project.group as String).replace("-", "")}.${project.name} java { toolchain { - languageVersion.set(JavaLanguageVersion.of(11)) + languageVersion.set(JavaLanguageVersion.of(17)) } } diff --git a/examples/settings.gradle.kts b/examples/settings.gradle.kts index 39083af0cc..953ab4e638 100644 --- a/examples/settings.gradle.kts +++ b/examples/settings.gradle.kts @@ -8,7 +8,7 @@ pluginManagement { } plugins { - id("org.gradle.toolchains.foojay-resolver-convention") version "0.5.0" + id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" } dependencyResolutionManagement {