File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/java/org/gradlex/javamodule/packaging/tasks Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,9 @@ abstract public class Jpackage extends DefaultTask {
9999 @ Input
100100 abstract public ListProperty <String > getJavaOptions ();
101101
102+ @ Input
103+ abstract public ListProperty <String > getJlinkOptions ();
104+
102105 @ Input
103106 abstract public ListProperty <String > getOptions ();
104107
@@ -172,6 +175,9 @@ public void runJpackage() throws Exception {
172175 for (String javaOption : getJavaOptions ().get ()) {
173176 e .args ("--java-options" , javaOption );
174177 }
178+ for (String javaOption : getJlinkOptions ().get ()) {
179+ e .args ("--jlink-options" , javaOption );
180+ }
175181 });
176182
177183 File appImageFolder = requireNonNull (appImageParent .getAsFile ().listFiles ())[0 ];
You can’t perform that action at this time.
0 commit comments