use of org.gradle.api.artifacts.DependencyConstraintSet in project gradle by gradle.
the class DependenciesAwareVersionCatalogBuilder method build.
@Override
public DefaultVersionCatalog build() {
if (shouldAmendModel) {
DependencySet allDependencies = dependenciesConfiguration.getAllDependencies();
DependencyConstraintSet allDependencyConstraints = dependenciesConfiguration.getAllDependencyConstraints();
Set<ModuleIdentifier> seen = Sets.newHashSet();
collectDependencies(allDependencies, seen);
collectConstraints(allDependencyConstraints, seen);
}
shouldAmendModel = false;
return super.build();
}
Aggregations