use of org.gradle.plugins.ide.internal.resolver.UnresolvedIdeDependencyHandler in project gradle by gradle.
the class IdeaDependenciesProvider method getDependencies.
private Set<Dependency> getDependencies(IdeaModule ideaModule) {
Set<Dependency> dependencies = Sets.newLinkedHashSet();
Map<ComponentSelector, UnresolvedDependencyResult> unresolvedDependencies = Maps.newLinkedHashMap();
for (GeneratedIdeaScope scope : GeneratedIdeaScope.values()) {
IdeaDependenciesVisitor visitor = visitDependencies(ideaModule, scope);
dependencies.addAll(visitor.getDependencies());
unresolvedDependencies.putAll(visitor.getUnresolvedDependencies());
}
optimizer.optimizeDeps(dependencies);
new UnresolvedIdeDependencyHandler().log(unresolvedDependencies.values());
return dependencies;
}
Aggregations