Skip to content

Commit 0f9d198

Browse files
committed
Switch to Java 21
Next release will require Java 21. Switch to it. JIRA: LIGHTY-327 Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
1 parent bcfb760 commit 0f9d198

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
SONAR_PROJECT_KEY: ${{ secrets.SONAR_PROJECT_KEY}}
2121
steps:
2222
- uses: actions/checkout@v2
23-
- name: Set up JDK 17
23+
- name: Set up JDK 21
2424
uses: actions/setup-java@v3
2525
with:
26-
java-version: 17
26+
java-version: 21
2727
distribution: 'temurin'
2828
- name: Cache SonarCloud packages
2929
uses: actions/cache@v1
@@ -44,7 +44,7 @@ jobs:
4444
- name: Maven install + Test + SonarCloud
4545
if: ${{ env.SONAR_TOKEN != 0 }}
4646
run: mvn clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
47-
-Dsonar.java.source=17
47+
-Dsonar.java.source=21
4848
-Dsonar.projectKey=${{ env.SONAR_PROJECT_KEY }}
4949
-Dsonar.organization=${{ env.SONAR_ORGANIZATION }}
5050
-Dsonar.host.url=https://sonarcloud.io

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ you can create your own device. This device can be built with the use of builder
1111
adding custom YANG models, custom request processors & more.
1212

1313
## Build & Run
14-
* Build the project with Java 17:
14+
* Build the project with Java 21:
1515
```
1616
mvn clean install
1717
```

0 commit comments

Comments
 (0)