if (dlgDescriptor.getValue() != DialogDescriptor.OK_OPTION) {
return;
}
GradleCommandTemplate template
= panel.tryGetGradleCommand(lastSource.getCommandName());
AsyncGradleTask newTask = new AsyncGradleTask(
task.getProject(),
adjust(task.getTaskDefFactroy(), template),
task.getListener());
newTask.run();