From 968b36f6c8df80f06ce7b104f6d3d44429739e1b Mon Sep 17 00:00:00 2001 From: Greg Schueler Date: Fri, 3 Mar 2023 10:16:58 -0800 Subject: [PATCH] Update build to use java11 --- .circleci/config.yml | 2 +- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/dependencyCheck.yml | 4 ++-- .github/workflows/gradle.yml | 8 ++++---- .github/workflows/release.yml | 4 ++-- .github/workflows/test-signing.yml | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 999b2a32..7de92723 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ jobs: build: docker: # specify the version you desire here - - image: cimg/openjdk:8.0 + - image: cimg/openjdk:11.0 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 54af1315..3c8ab167 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -47,10 +47,10 @@ jobs: # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v3 with: - java-version: '8' + java-version: '11' distribution: 'zulu' - name: Grant execute permission for gradlew diff --git a/.github/workflows/dependencyCheck.yml b/.github/workflows/dependencyCheck.yml index 7815aac3..8c5f5a0a 100644 --- a/.github/workflows/dependencyCheck.yml +++ b/.github/workflows/dependencyCheck.yml @@ -14,10 +14,10 @@ jobs: - name: Get Fetch Tags run: git -c protocol.version=2 fetch --tags --progress --no-recurse-submodules origin if: "!contains(github.ref, 'refs/tags')" - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v3 with: - java-version: '8' + java-version: '11 distribution: 'zulu' - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index ce68cee8..3da84873 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -13,10 +13,10 @@ jobs: - name: Get Fetch Tags run: git -c protocol.version=2 fetch --tags --progress --no-recurse-submodules origin if: "!contains(github.ref, 'refs/tags')" - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v3 with: - java-version: '8' + java-version: '11' distribution: 'zulu' - name: Grant execute permission for gradlew run: chmod +x gradlew @@ -61,10 +61,10 @@ jobs: - name: Get Fetch Tags run: git -c protocol.version=2 fetch --tags --progress --no-recurse-submodules origin if: "!contains(github.ref, 'refs/tags')" - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v3 with: - java-version: '8' + java-version: '11' distribution: 'zulu' - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e23e2e6a..af27bcf3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,10 @@ jobs: with: fetch-depth: 0 submodules: true - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v3 with: - java-version: '8' + java-version: '11' distribution: 'zulu' - name: Build with Gradle run: ./gradlew build diff --git a/.github/workflows/test-signing.yml b/.github/workflows/test-signing.yml index 8c0a48a4..faa266dd 100644 --- a/.github/workflows/test-signing.yml +++ b/.github/workflows/test-signing.yml @@ -11,10 +11,10 @@ jobs: with: fetch-depth: 0 submodules: true - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v3 with: - java-version: '8' + java-version: '11' distribution: 'zulu' - name: Build with Gradle run: ./gradlew build