use of org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.conflicts.UserConfiguredCapabilityResolver in project gradle by gradle.
the class DefaultArtifactDependencyResolver method createCapabilitiesConflictHandler.
private DefaultCapabilitiesConflictHandler createCapabilitiesConflictHandler(CapabilitiesResolutionInternal capabilitiesResolutionRules) {
DefaultCapabilitiesConflictHandler handler = new DefaultCapabilitiesConflictHandler();
handler.registerResolver(new UserConfiguredCapabilityResolver(capabilitiesResolutionRules));
// handler.registerResolver(new UpgradeCapabilityResolver());
handler.registerResolver(new LastCandidateCapabilityResolver());
handler.registerResolver(new RejectRemainingCandidates());
return handler;
}
Aggregations