use of org.gradle.api.internal.artifacts.DefaultDependencyConstraintSet in project gradle by gradle.
the class DefaultConfiguration method initAllDependencyConstraints.
private synchronized void initAllDependencyConstraints() {
if (allDependencyConstraints != null) {
return;
}
inheritedDependencyConstraints = CompositeDomainObjectSet.create(DependencyConstraint.class, ownDependencyConstraints);
for (Configuration configuration : this.extendsFrom) {
inheritedDependencyConstraints.addCollection(configuration.getAllDependencyConstraints());
}
allDependencyConstraints = new DefaultDependencyConstraintSet(Describables.of(displayName, "all dependency constraints"), inheritedDependencyConstraints);
}
Aggregations