Skip to content

Commit

Permalink
Bumped java version to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
hylkevds committed Oct 2, 2024
1 parent 96cf814 commit 728922e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v4

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
java-version: 21

- name: Cache maven repository
uses: actions/cache@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v4

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
java-version: 21

- name: Cache maven repository
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<mainClass>de.fraunhofer.iosb.ilt.sensorthingsmanager.MainApp</mainClass>
<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.release>21</maven.compiler.release>

<version.maven-plugin-compiler>3.13.0</version.maven-plugin-compiler>
<version.maven-plugin-dependency>3.1.1</version.maven-plugin-dependency>
Expand Down

0 comments on commit 728922e

Please sign in to comment.