Skip to content

Commit

Permalink
Switch to Java 21
Browse files Browse the repository at this point in the history
Next release will require Java 21. Switch to it.

JIRA: LIGHTY-327
Signed-off-by: Ivan Hrasko <[email protected]>
  • Loading branch information
ihrasko committed Sep 12, 2024
1 parent bcfb760 commit 0f9d198
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
SONAR_PROJECT_KEY: ${{ secrets.SONAR_PROJECT_KEY}}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: 'temurin'
- name: Cache SonarCloud packages
uses: actions/cache@v1
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Maven install + Test + SonarCloud
if: ${{ env.SONAR_TOKEN != 0 }}
run: mvn clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
-Dsonar.java.source=17
-Dsonar.java.source=21
-Dsonar.projectKey=${{ env.SONAR_PROJECT_KEY }}
-Dsonar.organization=${{ env.SONAR_ORGANIZATION }}
-Dsonar.host.url=https://sonarcloud.io
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ you can create your own device. This device can be built with the use of builder
adding custom YANG models, custom request processors & more.

## Build & Run
* Build the project with Java 17:
* Build the project with Java 21:
```
mvn clean install
```
Expand Down

0 comments on commit 0f9d198

Please sign in to comment.