Skip to content

Commit

Permalink
fixes arguments for secondary launchers not being set
Browse files Browse the repository at this point in the history
this got reported here: FibreFoX/javafx-gradle-plugin#55
  • Loading branch information
FibreFoX committed Feb 9, 2017
1 parent 7fd4e99 commit 6e9c423
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
secondaryLauncher.put(StandardBundlerParam.USER_JVM_OPTIONS.getID(), new HashMap<>(userJvmOptions));
});
Optional.ofNullable(launcher.getLauncherArguments()).ifPresent(arguments -> {
params.put(StandardBundlerParam.ARGUMENTS.getID(), new ArrayList<>(arguments));
secondaryLauncher.put(StandardBundlerParam.ARGUMENTS.getID(), new ArrayList<>(arguments));
});
return secondaryLauncher;
}).collect(Collectors.toList()));
Expand Down

0 comments on commit 6e9c423

Please sign in to comment.