mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
gradle: do not use gradle daemon while debugging gradle scripts using the groovy run configuration
This commit is contained in:
@@ -113,7 +113,7 @@ public class GradleScriptType extends GroovyRunnableScriptType {
|
||||
List<String> tasks = getTasksTarget(location);
|
||||
if (tasks != null) {
|
||||
String s = StringUtil.join(tasks, " ");
|
||||
configuration.setProgramParameters(s);
|
||||
configuration.setProgramParameters(s + " --no-daemon");
|
||||
configuration.setName("gradle:" + s);
|
||||
}
|
||||
RunManagerEx.disableTasks(file.getProject(), configuration, CompileStepBeforeRun.ID, CompileStepBeforeRunNoErrorCheck.ID);
|
||||
|
||||
Reference in New Issue
Block a user