Skip to content

Commit

Permalink
Global JVM argument is no longer added to simple arguments. Bug intro…
Browse files Browse the repository at this point in the history
…duced in d22d0b9.
  • Loading branch information
kelemen committed Nov 13, 2012
1 parent 89a9ced commit 855e35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/netbeans/gradle/project/tasks/GradleTasks.java
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public DaemonTaskDef call() throws Exception {
final GradleTaskDef newTaskDef;
if (globalJvmArgs != null && !globalJvmArgs.isEmpty()) {
GradleTaskDef.Builder builder = new GradleTaskDef.Builder(taskDef);
builder.addArguments(globalJvmArgs);
builder.addJvmArguments(globalJvmArgs);
newTaskDef = builder.create();
}
else {
Expand Down

0 comments on commit 855e35d

Please sign in to comment.