diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index c1da0cfa..36241677 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -17,11 +17,11 @@ jobs: with: # Disabling shallow clone is recommended for improving relevancy of reporting with SonarCloud fetch-depth: 0 - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v4 with: - distribution: 'adopt' - java-version: 8 + distribution: 'temurin' + java-version: 11 - name: Build with Maven run: mvn --show-version --no-transfer-progress verify --file pom.xml -Pcoverage,cloudbees-oss-release -Dgpg.skip=true env: @@ -32,11 +32,11 @@ jobs: ZENDESK_JAVA_CLIENT_TEST_TOKEN: ${{ secrets.ZENDESK_JAVA_CLIENT_TEST_TOKEN }} ZENDESK_JAVA_CLIENT_TEST_REQUESTER_EMAIL: ${{ secrets.ZENDESK_JAVA_CLIENT_TEST_REQUESTER_EMAIL }} ZENDESK_JAVA_CLIENT_TEST_REQUESTER_NAME: ${{ secrets.ZENDESK_JAVA_CLIENT_TEST_REQUESTER_NAME }} - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - distribution: 'adopt' - java-version: 11 + distribution: 'temurin' + java-version: 17 - name: Analyze with SonarQube run: mvn --show-version --no-transfer-progress sonar:sonar --file pom.xml -Dsonar.organization=cloudbees -Dsonar.host.url=${SONAR_URL} -Dsonar.login=${SONAR_TOKEN} env: diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index f0aabffc..2f7c4d69 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -17,11 +17,11 @@ jobs: with: # Disabling shallow clone is recommended for improving relevancy of reporting with SonarCloud fetch-depth: 0 - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v4 with: - distribution: 'adopt' - java-version: 8 + distribution: 'temurin' + java-version: 11 - name: Build with Maven run: mvn --show-version --no-transfer-progress verify --file pom.xml -Pcoverage,cloudbees-oss-release -Dgpg.skip=true env: diff --git a/README.md b/README.md index c8580a40..a6c4bd8e 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,15 @@ Here is the status of the various API components: * [Suspended Tickets](https://developer.zendesk.com/api-reference/ticketing/tickets/suspended_tickets/) * [Triggers](https://developer.zendesk.com/api-reference/ticketing/business-rules/triggers/) ✓ +JDK Support +------ + +The current version of this project supports Java 11 and above. +It is built on Java 11 and Java 17. +The release is built using Java 11. + +Latest version supporting Java 8: 0.24.3 (https://github.com/cloudbees-oss/zendesk-java-client/releases/tag/zendesk-java-client-0.24.3). + History ------- diff --git a/pom.xml b/pom.xml index 259d6905..28af0d93 100644 --- a/pom.xml +++ b/pom.xml @@ -89,8 +89,8 @@ - 1.8 - 1.8 + 11 + 11 2.30.0