Skip to content

Commit

Permalink
Updated java version to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
hylkevds committed Sep 13, 2023
1 parent f21486f commit b58e83a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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@v3

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

- name: Cache maven repository
uses: actions/cache@v3
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@v3

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

- name: Cache maven repository
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<mainClass>de.fraunhofer.iosb.ilt.sensorthingsmanager.MainApp</mainClass>

<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
Expand Down

0 comments on commit b58e83a

Please sign in to comment.