Skip to content

Commit 9002bdf

Browse files
committed
Update to Java 17
1 parent df7b913 commit 9002bdf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/pull_request_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
uses: actions/setup-java@v2
1515
with:
1616
distribution: 'temurin'
17-
java-version: '11'
17+
java-version: '17'
1818
- name: Run tests
1919
run: mvn -B clean install

.github/workflows/release-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
with:
1515
ref: main
1616
fetch-depth: 0
17-
- name: Set up JDK 11
17+
- name: Set up JDK 17
1818
uses: actions/setup-java@v2
1919
with:
2020
distribution: 'temurin'
21-
java-version: '11'
21+
java-version: '17'
2222
server-id: ossrh
2323
server-username: OSSRH_USERNAME
2424
server-password: OSSRH_TOKEN

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@
130130
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
131131
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
132132

133-
<java-target-version>11</java-target-version>
134-
<java-source-version>11</java-source-version>
133+
<java-target-version>17</java-target-version>
134+
<java-source-version>17</java-source-version>
135135

136136
<sonar.coverage.jacoco.xmlReportPaths>
137137
${project.basedir}/../sds-sdk-test-report/target/site/jacoco-aggregate/jacoco.xml,

0 commit comments

Comments
 (0)