Skip to content

Commit d224b58

Browse files
committed
[chore] Drop Java 8 support
* Remove Java 8 support * PRs and releases are using jdk 11 * Start building on jdk 17
1 parent 31bae8f commit d224b58

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

.github/workflows/ci-master.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
with:
1818
# Disabling shallow clone is recommended for improving relevancy of reporting with SonarCloud
1919
fetch-depth: 0
20-
- name: Set up JDK 1.8
20+
- name: Set up JDK 11
2121
uses: actions/setup-java@v4
2222
with:
23-
distribution: 'adopt'
24-
java-version: 8
23+
distribution: 'temurin'
24+
java-version: 11
2525
- name: Build with Maven
2626
run: mvn --show-version --no-transfer-progress verify --file pom.xml -Pcoverage,cloudbees-oss-release -Dgpg.skip=true
2727
env:
@@ -32,11 +32,11 @@ jobs:
3232
ZENDESK_JAVA_CLIENT_TEST_TOKEN: ${{ secrets.ZENDESK_JAVA_CLIENT_TEST_TOKEN }}
3333
ZENDESK_JAVA_CLIENT_TEST_REQUESTER_EMAIL: ${{ secrets.ZENDESK_JAVA_CLIENT_TEST_REQUESTER_EMAIL }}
3434
ZENDESK_JAVA_CLIENT_TEST_REQUESTER_NAME: ${{ secrets.ZENDESK_JAVA_CLIENT_TEST_REQUESTER_NAME }}
35-
- name: Set up JDK 11
35+
- name: Set up JDK 17
3636
uses: actions/setup-java@v4
3737
with:
38-
distribution: 'adopt'
39-
java-version: 11
38+
distribution: 'temurin'
39+
java-version: 17
4040
- name: Analyze with SonarQube
4141
run: mvn --show-version --no-transfer-progress sonar:sonar --file pom.xml -Dsonar.organization=cloudbees -Dsonar.host.url=${SONAR_URL} -Dsonar.login=${SONAR_TOKEN}
4242
env:

.github/workflows/ci-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
with:
1818
# Disabling shallow clone is recommended for improving relevancy of reporting with SonarCloud
1919
fetch-depth: 0
20-
- name: Set up JDK 1.8
20+
- name: Set up JDK 11
2121
uses: actions/setup-java@v4
2222
with:
23-
distribution: 'adopt'
24-
java-version: 8
23+
distribution: 'temurin'
24+
java-version: 11
2525
- name: Build with Maven
2626
run: mvn --show-version --no-transfer-progress verify --file pom.xml -Pcoverage,cloudbees-oss-release -Dgpg.skip=true
2727
env:

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,15 @@ Here is the status of the various API components:
8989
* [Suspended Tickets](https://developer.zendesk.com/api-reference/ticketing/tickets/suspended_tickets/)
9090
* [Triggers](https://developer.zendesk.com/api-reference/ticketing/business-rules/triggers/)
9191

92+
JDK Support
93+
------
94+
95+
The current version of this project supports Java 11 and above.
96+
It is built on Java 11 and Java 17.
97+
The release is built using Java 11.
98+
99+
Latest version supporting Java 8: 0.24.3 (https://github.com/cloudbees-oss/zendesk-java-client/releases/tag/zendesk-java-client-0.24.3).
100+
92101
History
93102
-------
94103

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@
8989
</ciManagement>
9090

9191
<properties>
92-
<maven.compiler.source>1.8</maven.compiler.source>
93-
<maven.compiler.target>1.8</maven.compiler.target>
92+
<maven.compiler.source>11</maven.compiler.source>
93+
<maven.compiler.target>11</maven.compiler.target>
9494
<spotless.version>2.30.0</spotless.version>
9595
</properties>
9696

0 commit comments

Comments
 (0)