Stekeblad / Stekeblads-Video-Uploader

Easier bulk-uploading to Youtube
MIT License
31 stars 13 forks source link

Build scripts and Java modules #6

Closed Stekeblad closed 4 years ago

Stekeblad commented 5 years ago

The Java 11 branch is working but has one big problem before a release can be created from it.

I can not get the application to find the JavaFX modules that is packed in the jar (or at least it looks like some JavaFX files is in there), it works fine if the modules jafafx.fxml and javafx.controls are provided with command line parameters to Java (using --module-path and --add-modules).

I would like to get help with finding a configuration so I can create a jar file such that the user do not need to know anything about the JavaFX modules, the application should start without any extra parameters if the user launches it with Java 11.

Currently is dependencies handled with Gradle and the releases is built with Ant but if the solution is switching to some other tool, then I have no problem switching.

Helpful project files

Stekeblad commented 4 years ago

Dropping the idea of moving to higher versions of Java for now