Skip to content

Commit

Permalink
Upgrades to Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Jun 16, 2024
1 parent 15907ec commit 57ab46d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 8
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 8
java-version: 17
distribution: adopt
cache: maven
server-id: struts2-jquery.snapshots
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@

<properties>
<currentVersion>${project.version}</currentVersion>
<java.version>1.8</java.version>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<!-- plugin versions -->
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven-release-plugin.version>3.0.1</maven-release-plugin.version>
Expand Down

0 comments on commit 57ab46d

Please sign in to comment.