public void markDependencyDownloadPolicyAsError(@NotNull Project project) {
    ProjectIdentifier projectIdentifier = GradleProjectUtil.getProjectIdentifier(project);
    policies.put(projectIdentifier, GradleDependencyDownloadPolicy.NONE);
  }
public void markDependencyDownloadPolicyAsError(@NotNull Project project)