The current <option> configuration is used to provide options to the java command for both javafx:run and javafx:jlink goals. In case of javafx:jlink, the options are passed to the launcher script which seems to work well.
However, user may need to pass options to jlink command. There is no way to do it right now.
My suggestion is to include a new configuration jlinkOptions which would enable users to define flags which will be directly passed to the jlink command.
The current
<option>configuration is used to provide options to thejavacommand for bothjavafx:runandjavafx:jlinkgoals. In case ofjavafx:jlink, the options are passed to the launcher script which seems to work well.However, user may need to pass options to
jlinkcommand. There is no way to do it right now.My suggestion is to include a new configuration
jlinkOptionswhich would enable users to define flags which will be directly passed to thejlinkcommand.