diff --git a/pom.xml b/pom.xml index 0250a57..4a8fb95 100644 --- a/pom.xml +++ b/pom.xml @@ -102,6 +102,25 @@ maven-plugin + + org.openjfx + javafx-graphics + 13 + win + + + org.openjfx + javafx-graphics + 13 + linux + + + org.openjfx + javafx-graphics + 13 + mac + + @@ -141,6 +160,7 @@ + org.jacoco jacoco-maven-plugin @@ -162,6 +182,29 @@ + + + org.apache.maven.plugins + maven-shade-plugin + 3.0.0 + + + package + + shade + + + + + app.MainLauncher + + + + + + + diff --git a/src/main/java/app/MainLauncher.java b/src/main/java/app/MainLauncher.java new file mode 100644 index 0000000..14ef3ce --- /dev/null +++ b/src/main/java/app/MainLauncher.java @@ -0,0 +1,7 @@ +package app; + +public class MainLauncher { + public static void main(String[] args) { + Main.main(args); + } +} \ No newline at end of file diff --git a/util/run.bat b/util/run.bat new file mode 100644 index 0000000..34d6887 --- /dev/null +++ b/util/run.bat @@ -0,0 +1,3 @@ +@ECHO OFF + +java --enable-preview target/banana-editor-1.0.0.jar \ No newline at end of file diff --git a/util/run.sh b/util/run.sh new file mode 100644 index 0000000..0302144 --- /dev/null +++ b/util/run.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +java --enable-preview target/banana-editor-1.0.0.jar \ No newline at end of file