@Override
  public Object buildAll(@NotNull String modelName, @NotNull Project project, @NotNull ModelBuilderContext context) {
    GradleDependencyDownloadPolicy dependencyDownloadPolicy = new DefaultGradleDependencyDownloadPolicy(
      shouldDownloadSources(context, project),
      shouldDownloadJavadocs(context, project)
    );

    setIdeaPluginDependencyDownloadPolicy(project, dependencyDownloadPolicy);

    GradleDependencyDownloadPolicyCache.getInstance(context)
      .setDependencyDownloadPolicy(project, dependencyDownloadPolicy);

    return dependencyDownloadPolicy;
  }
@Override
  public Object buildAll(@NotNull String modelName, @NotNull Project project, @NotNull ModelBuilderContext context)