Skip to content
Browse files

"Skip tests" does not overwrite the arguments of a built-in task (thi…

…s only matters in the case of customized built-in tasks).
  • Loading branch information...
1 parent d22d0b9 commit 200f5dd8942ba069a62a0a4c2ccfa217d83d998f @kelemen committed Nov 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/netbeans/gradle/project/view/GradleActionProvider.java
View
2 src/org/netbeans/gradle/project/view/GradleActionProvider.java
@@ -192,7 +192,7 @@ public void run() {
private GradleTaskDef.Builder createProjectTaskBuilderMaySkipTest(TaskKind kind, String command, NbGradleConfiguration config) {
GradleTaskDef.Builder builder = createProjectTaskBuilder(kind, command, config);
if (GlobalGradleSettings.getSkipTests().getValue()) {
- builder.setArguments(Arrays.asList("-x", "test"));
+ builder.addArguments(Arrays.asList("-x", "test"));
}
return builder;
}

0 comments on commit 200f5dd

Please sign in to comment.
Something went wrong with that request. Please try again.