Skip to content
Snippets Groups Projects
Commit a15aec24 authored by Hallvard Trætteberg's avatar Hallvard Trætteberg
Browse files

jlink and jpackage config

parent 314dc068
No related branches found
No related tags found
No related merge requests found
...@@ -184,12 +184,39 @@ ...@@ -184,12 +184,39 @@
</argLine> </argLine>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId> <artifactId>javafx-maven-plugin</artifactId>
<version>0.0.6</version> <version>0.0.8</version>
<configuration> <configuration>
<mainClass>todolist.ui/todolist.ui.TodoApp</mainClass> <mainClass>todolist.ui/todolist.ui.TodoApp</mainClass>
<!-- rest of options are for jlink -->
<compress>2</compress>
<noHeaderFiles>true</noHeaderFiles>
<stripDebug>true</stripDebug>
<noManPages>true</noManPages>
<launcher>todolistfx</launcher>
<jlinkImageName>todolistfx</jlinkImageName>
<jlinkZipName>todolistfx</jlinkZipName>
</configuration>
</plugin>
<!-- config above and below taken from https://dev.to/cherrychain/javafx-jlink-and-jpackage-h9 -->
<plugin>
<groupId>org.panteleyev</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<version>1.4.0</version>
<configuration>
<name>TodoListFX</name>
<appVersion>0.0.1</appVersion>
<vendor>it1901</vendor>
<destination>target/dist</destination>
<module>todolist.ui/todolist.ui.TodoApp</module>
<runtimeImage>target/todolistfx</runtimeImage>
<javaOptions>
<option>-Dfile.encoding=UTF-8</option>
</javaOptions>
</configuration> </configuration>
</plugin> </plugin>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment