use of org.gradle.model.internal.report.AmbiguousBindingReporter in project gradle by gradle.
the class ModelBinding method onBind.
public final void onBind(ModelNodeInternal node) {
if (boundTo != null) {
ModelRuleDescriptor creatorDescriptor = node.getDescriptor();
ModelPath path = node.getPath();
throw new InvalidModelRuleException(referrer, new ModelRuleBindingException(new AmbiguousBindingReporter(predicate.getReference(), boundTo.getPath(), boundTo.getDescriptor(), path, creatorDescriptor).asString()));
}
doOnBind(node);
}
Aggregations