diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd48e9c7f82..d3d846388da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [11, 17, 19] + java: [17, 19] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2fdcf5e556a..a9f26d4916e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,6 +24,10 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 17 - uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} diff --git a/.github/workflows/crowdin-upload-files.yml b/.github/workflows/crowdin-upload-files.yml index efd422d6f8d..4c57d7d5097 100644 --- a/.github/workflows/crowdin-upload-files.yml +++ b/.github/workflows/crowdin-upload-files.yml @@ -17,7 +17,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 11 + java-version: 17 - name: Upload Files env: CROWDIN_AUTH_TOKEN: ${{ secrets.ZAPBOT_CROWDIN_TOKEN }} diff --git a/.github/workflows/prepare-release-add-on.yml b/.github/workflows/prepare-release-add-on.yml index d1483642f82..fa1e28c67fa 100644 --- a/.github/workflows/prepare-release-add-on.yml +++ b/.github/workflows/prepare-release-add-on.yml @@ -20,7 +20,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 11 + java-version: 17 - name: Prepare Release and Create Pull Request env: ZAPBOT_TOKEN: ${{ secrets.ZAPBOT_TOKEN }} diff --git a/.github/workflows/release-add-on.yml b/.github/workflows/release-add-on.yml index 18089042986..2c7633376a1 100644 --- a/.github/workflows/release-add-on.yml +++ b/.github/workflows/release-add-on.yml @@ -20,7 +20,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 11 + java-version: 17 - name: Generate Release State run: ./gradlew :addOns:generateReleaseStateLastCommit - name: Build and Release Add-On diff --git a/build.gradle.kts b/build.gradle.kts index 062e757d058..c8b4ee2fefb 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -49,7 +49,7 @@ allprojects { } java { - val javaVersion = JavaVersion.VERSION_11 + val javaVersion = JavaVersion.VERSION_17 sourceCompatibility = javaVersion targetCompatibility = javaVersion }