use of org.gradle.api.internal.artifacts.ivyservice.DefaultUnresolvedDependency in project gradle by gradle.
the class ResolvedConfigurationDependencyGraphVisitor method attachFailures.
private void attachFailures(ResolvedConfigurationBuilder result) {
for (Map.Entry<ModuleVersionSelector, BrokenDependency> entry : failuresByRevisionId.entrySet()) {
Collection<List<ComponentIdentifier>> paths = DependencyGraphPathResolver.calculatePaths(entry.getValue().requiredBy, root);
result.addUnresolvedDependency(new DefaultUnresolvedDependency(entry.getKey(), entry.getValue().failure.withIncomingPaths(paths)));
}
}
Aggregations