Skip to content

Commit dc3dda2

Browse files
committed
feat: compile for java 18
1 parent 4224ff7 commit dc3dda2

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

dependency-reduced-pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.tomeraberbach</groupId>
55
<artifactId>mano-simulator</artifactId>
66
<name>mano-simulator</name>
7-
<version>1.1-SNAPSHOT</version>
7+
<version>2-SNAPSHOT</version>
88
<url>https://github.com/TomerAberbach/mano-simulator</url>
99
<build>
1010
<plugins>
@@ -60,9 +60,9 @@
6060
</plugins>
6161
</build>
6262
<properties>
63-
<maven.compiler.target>11</maven.compiler.target>
64-
<maven.compiler.source>11</maven.compiler.source>
63+
<maven.compiler.target>18</maven.compiler.target>
64+
<maven.compiler.source>18</maven.compiler.source>
6565
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
66-
<javafx.version>19</javafx.version>
66+
<javafx.version>19.0.2.1</javafx.version>
6767
</properties>
6868
</project>

pom.xml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
<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">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
24
<modelVersion>4.0.0</modelVersion>
35
<groupId>com.tomeraberbach</groupId>
46
<artifactId>mano-simulator</artifactId>
5-
<version>1.1-SNAPSHOT</version>
7+
<version>2-SNAPSHOT</version>
68
<packaging>jar</packaging>
79
<name>mano-simulator</name>
810
<url>https://github.com/TomerAberbach/mano-simulator</url>
911

1012
<properties>
1113
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<maven.compiler.source>11</maven.compiler.source>
13-
<maven.compiler.target>11</maven.compiler.target>
14-
<javafx.version>19</javafx.version>
14+
<maven.compiler.source>18</maven.compiler.source>
15+
<maven.compiler.target>18</maven.compiler.target>
16+
<javafx.version>19.0.2.1</javafx.version>
1517
</properties>
1618

1719
<dependencies>
@@ -91,7 +93,8 @@
9193
</goals>
9294
<configuration>
9395
<transformers>
94-
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
96+
<transformer
97+
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
9598
<mainClass>com.tomeraberbach.mano.application.SuperMain</mainClass>
9699
</transformer>
97100
</transformers>

0 commit comments

Comments
 (0)