gradle: attach test console for 'check' task explicitly

This commit is contained in:
Vladislav.Soroka
2015-10-28 16:47:26 +03:00
parent a437e61a2a
commit 2ca8307bc7
@@ -193,7 +193,9 @@ public class GradleTestsExecutionConsoleManager
final DataNode<TaskData> taskDataNode = GradleProjectResolverUtil.findTask(
externalProjectInfo.getExternalProjectStructure(), pojo.getLinkedExternalProjectPath(), pojo.getName());
return taskDataNode != null && GradleCommonClassNames.GRADLE_API_TASKS_TESTING_TEST.equals(taskDataNode.getData().getType());
return taskDataNode != null &&
(("check".equals(taskDataNode.getData().getName()) && "verification".equals(taskDataNode.getData().getGroup())
|| GradleCommonClassNames.GRADLE_API_TASKS_TESTING_TEST.equals(taskDataNode.getData().getType())));
}
}) != null;
}