Skip to content

Commit 8332c11

Browse files
Use single commandLine call
1 parent c0594c5 commit 8332c11

File tree

1 file changed

+1
-2
lines changed
  • buildSrc/src/main/java/com/github/stickerifier/stickerify

1 file changed

+1
-2
lines changed

buildSrc/src/main/java/com/github/stickerifier/stickerify/JlinkTask.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ public void createJre() {
7373
var result = getExec().exec(execSpec -> {
7474
execSpec.setIgnoreExitValue(true);
7575

76-
execSpec.setCommandLine(jlink.getAbsolutePath());
77-
execSpec.args(getOptions().get());
76+
execSpec.commandLine(jlink.getAbsolutePath(), getOptions().get());
7877

7978
if (getIncludeModulePath().get()) {
8079
execSpec.args("--module-path", jmods.getAbsolutePath());

0 commit comments

Comments
 (0)