<@U3KSUBMEU> if this project is opens sourced, can...
# tornadofx
a
@darkmoon_uk if this project is opens sourced, can you link me to it?
d
It's 'Client/Desktop' I was compiling
As I say, it finally did build with the JavaFx 12 jmods in the JDK's jmods folder.
...and maybe that's where they should go. But it's unsatisfactory because I was specifying the correct alternate location everywhere.
...and could see it defined in the command going to javac from the runtime plugin.
a
Thank you for linking your project! I also spend a ton of time not getting anywhere with gradle not finding stuff and having the wrong version...
d
I checked the source of the beryx "Badass Runtime" plugin; it looks like there's a major limitation with the way it treats Module Path
effectively, Module path is enforced as only the SDK jmods folder and can't be changed. Not a problem if you're only compiling for the host platform, but jlink is supposed to be able to compile for any by nominating alternate jmods folders.
I will fix it and raise a PR.
a
Why do you need to specify the location to JavaFX Jmods? Isn't the resolution of dependency handled by the javafx plugin?
d
It is not, and even if it were, it would still be desirable to be able to override that location to specify jmod sets for platforms other than the host e.g. building Windows distributable from a Linux CI worker.