Skip to content

Commit

Permalink
update pom
Browse files Browse the repository at this point in the history
  • Loading branch information
leewyatt committed May 10, 2022
1 parent 73580e1 commit 46086ce
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,41 @@
<artifactId>FXGL_TowerDefense</artifactId>
<version>0.2.0</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<source.version>17</source.version>

<!-- plugins -->
<maven.compiler.version>3.8.0</maven.compiler.version>
<maven.shade.version>3.0.0</maven.shade.version>

<fxgl.version>11.17</fxgl.version>
<jfx.maven.plugin.version>0.0.6</jfx.maven.plugin.version>
<mainClassName>com.leewyatt.td.TowerDefenseApp</mainClassName>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>

<!-- <repositories>-->
<!-- <repository>-->
<!-- <id>oss.sonatype.org-snapshot</id>-->
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
<!-- </repository>-->
<!-- </repositories>-->

<!-- <pluginRepositories>-->
<!-- <pluginRepository>-->
<!-- <id>gluon-releases</id>-->
<!-- <url>http://nexus.gluonhq.com/nexus/content/repositories/releases/</url>-->
<!-- </pluginRepository>-->
<!-- </pluginRepositories>-->

<dependencies>
<dependency>
<groupId>com.github.almasb</groupId>
<artifactId>fxgl</artifactId>
<version>${fxgl.version}</version>
<version>17.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.0</version>
<configuration>
<release>17</release>
<encoding>utf-8</encoding>
</configuration>
</plugin>
<!-- jlink plugin 0.0.8似乎还不支持Apple M1 芯片 -->
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.8</version>
<configuration>
<stripDebug>true</stripDebug>
<compress>2</compress>
<noHeaderFiles>true</noHeaderFiles>
<noManPages>true</noManPages>
<launcher>TowerDefense</launcher>
<jlinkImageName>TowerDefense</jlinkImageName>
<jlinkZipName>TowerDefenseZip</jlinkZipName>
<mainClass>com.leewyatt.td.TowerDefenseApp</mainClass>
</configuration>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 46086ce

Please sign in to comment.