public void markTaskModelAsError(@NotNull Project project) {
    ProjectIdentifier projectIdentifier = GradleProjectUtil.getProjectIdentifier(project);
    allTasks.put(projectIdentifier, Collections.emptySet());
  }
public void markTaskModelAsError(@NotNull Project project)