private @NotNull Collection<? extends ExternalDependency> resolveSourceSetCompileDependencies(@NotNull SourceSet sourceSet) {
    FileCollection compileClasspath = getCompileClasspath(sourceSet);
    return resolveDependenciesWithDefault(compileClasspath, COMPILE_SCOPE, new Supplier<Collection<? extends ExternalDependency>>() {
      @Override
      public Collection<? extends ExternalDependency> get() {
        String configurationName = sourceSet.getCompileClasspathConfigurationName();
        Configuration configuration = myProject.getConfigurations().getByName(configurationName);
        return getDependencies(configuration, COMPILE_SCOPE);
      }
    });
  }
private @NotNull Collection<? extends ExternalDependency> resolveSourceSetCompileDependencies(@NotNull SourceSet sourceSet)