feat: 实现gluonfx打包

This commit is contained in:
songdragon 2023-08-31 22:23:54 +08:00
parent 6fa60fe02e
commit d883a581f6

20
pom.xml
View File

@ -9,9 +9,11 @@
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<name>JNotepad</name> <name>JNotepad</name>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit.version>5.9.2</junit.version> <junit.version>5.9.2</junit.version>
<javafx.version>17.0.1</javafx.version>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
@ -22,7 +24,7 @@
<dependency> <dependency>
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId> <artifactId>javafx-fxml</artifactId>
<version>17.0.1</version> <version>${javafx.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
@ -95,6 +97,22 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>com.gluonhq</groupId>
<artifactId>gluonfx-maven-plugin</artifactId>
<version>1.0.19</version>
<configuration>
<mainClass>org.jcnc.jnotepad/org.jcnc.jnotepad.LunchApp</mainClass>
<reflectionList>
org.jcnc.jnotepad.app.config.AppConfig,org.jcnc.jnotepad.app.config.AppConfig$ShortcutKey
</reflectionList>
<bundlesList>
i18n/i18n
</bundlesList>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>