From 50c623f9eb337cb707a786465528904470ce8970 Mon Sep 17 00:00:00 2001 From: Jordan Longstaff Date: Mon, 7 Oct 2024 18:22:37 -0400 Subject: [PATCH] Upgrade to JDK 21 --- .github/workflows/codeql.yml | 4 ++-- .github/workflows/dependency-review.yml | 4 ++-- .github/workflows/gradle.yml | 4 ++-- build.gradle.kts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9a602d1f..efebd5c8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -58,10 +58,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index f3964f8a..6a40cde9 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -45,10 +45,10 @@ jobs: needs: wait-for-build steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' # Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies. diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index e9cbae37..f6499822 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -22,10 +22,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies. diff --git a/build.gradle.kts b/build.gradle.kts index c684f600..1b34d364 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -22,7 +22,7 @@ buildscript { val sdkVersion: Int by extra(35) val minimumSdkVersion: Int by extra(21) -val javaVersion: JavaVersion by extra(JavaVersion.VERSION_17) +val javaVersion: JavaVersion by extra(JavaVersion.VERSION_21) val pitestTimeoutFactor: BigDecimal by extra(BigDecimal(100)) val pitestMutators: Set by extra(