use of org.gradle.internal.id.LongIdGenerator in project gradle by gradle.
the class DependencyGraphBuilder method resolve.
public void resolve(ResolveContext resolveContext, DependencyGraphVisitor modelVisitor) {
IdGenerator<Long> idGenerator = new LongIdGenerator();
DefaultBuildableComponentResolveResult rootModule = new DefaultBuildableComponentResolveResult();
moduleResolver.resolve(resolveContext, rootModule);
ResolveState resolveState = new ResolveState(idGenerator, rootModule, resolveContext.getName(), idResolver, metaDataResolver, edgeFilter, attributesSchema, moduleIdentifierFactory, moduleExclusions);
conflictHandler.registerResolver(new DirectDependencyForcingResolver(resolveState.root.moduleRevision));
traverseGraph(resolveState, conflictHandler);
resolveState.root.moduleRevision.setSelectionReason(VersionSelectionReasons.ROOT);
assembleResult(resolveState, modelVisitor);
}
Aggregations