use of org.gradle.api.internal.artifacts.ComponentSelectionInternal in project gradle by gradle.
the class DefaultVersionedComponentChooser method isRejectedByRules.
private boolean isRejectedByRules(ModuleComponentIdentifier candidateIdentifier, Collection<SpecRuleAction<? super ComponentSelection>> rules, MetadataProvider metadataProvider) {
ComponentSelectionInternal selection = new DefaultComponentSelection(candidateIdentifier);
rulesProcessor.apply(selection, rules, metadataProvider);
return selection.isRejected();
}
Aggregations