Skip to content

Commit

Permalink
feat: compile for java 18
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerAberbach committed Mar 8, 2023
1 parent 4224ff7 commit dc3dda2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
8 changes: 4 additions & 4 deletions dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.tomeraberbach</groupId>
<artifactId>mano-simulator</artifactId>
<name>mano-simulator</name>
<version>1.1-SNAPSHOT</version>
<version>2-SNAPSHOT</version>
<url>https://github.com/TomerAberbach/mano-simulator</url>
<build>
<plugins>
Expand Down Expand Up @@ -60,9 +60,9 @@
</plugins>
</build>
<properties>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>18</maven.compiler.target>
<maven.compiler.source>18</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<javafx.version>19</javafx.version>
<javafx.version>19.0.2.1</javafx.version>
</properties>
</project>
15 changes: 9 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.tomeraberbach</groupId>
<artifactId>mano-simulator</artifactId>
<version>1.1-SNAPSHOT</version>
<version>2-SNAPSHOT</version>
<packaging>jar</packaging>
<name>mano-simulator</name>
<url>https://github.com/TomerAberbach/mano-simulator</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<javafx.version>19</javafx.version>
<maven.compiler.source>18</maven.compiler.source>
<maven.compiler.target>18</maven.compiler.target>
<javafx.version>19.0.2.1</javafx.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -91,7 +93,8 @@
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.tomeraberbach.mano.application.SuperMain</mainClass>
</transformer>
</transformers>
Expand Down

0 comments on commit dc3dda2

Please sign in to comment.