Skip to content

Commit 0e6aa08

Browse files
committed
Fix custom options
1 parent c2967bf commit 0e6aa08

File tree

1 file changed

+3
-3
lines changed
  • src/main/java/org/gradlex/javamodule/packaging/tasks

1 file changed

+3
-3
lines changed

src/main/java/org/gradlex/javamodule/packaging/tasks/Jpackage.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@ public void runJpackage() throws Exception {
166166
if (getCopyright().isPresent()) {
167167
e.args("--copyright", getCopyright().get());
168168
}
169-
for (String option : getOptions().get()) {
170-
e.args(option);
171-
}
172169
for (String javaOption : getJavaOptions().get()) {
173170
e.args("--java-options", javaOption);
174171
}
@@ -202,6 +199,9 @@ public void runJpackage() throws Exception {
202199
"--dest",
203200
getDestination().get().getAsFile().getPath()
204201
);
202+
for (String option : getOptions().get()) {
203+
e.args(option);
204+
}
205205
})
206206
);
207207

0 commit comments

Comments
 (0)