Skip to content

Commit

Permalink
Merge pull request #6 from froque/upgrade_java_17
Browse files Browse the repository at this point in the history
Upgrade to Java 17
  • Loading branch information
froque committed May 19, 2023
2 parents 85269f5 + afe6a6d commit 161b6af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2.3.0
with:
java-version: 16
java-version: 17
distribution: 'adopt'

# Runs a single command using the runners shell
Expand Down
11 changes: 6 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<javafx.version>16</javafx.version>
<java.version>17</java.version>
<javafx.version>17</javafx.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -48,11 +49,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.11.0</version>
<configuration>
<release>16</release>
<source>16</source>
<target>16</target>
<release>${java.version}</release>
<release>${java.version}</release>
<release>${java.version}</release>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 161b6af

Please sign in to comment.