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 {