use of org.gradle.internal.component.local.model.LocalFileDependencyMetadata in project gradle by gradle.
the class FileDependencyCollectingGraphVisitor method start.
@Override
public void start(DependencyGraphNode root) {
Set<LocalFileDependencyMetadata> fileDependencies = ((LocalConfigurationMetadata) root.getMetadata()).getFiles();
rootFiles = Maps.newLinkedHashMap();
for (LocalFileDependencyMetadata fileDependency : fileDependencies) {
FileDependencyArtifactSet artifactSet = new FileDependencyArtifactSet(idGenerator.generateId(), fileDependency, immutableAttributesFactory);
rootFiles.put(fileDependency.getSource(), artifactSet);
filesByNodeId.put(root.getNodeId(), artifactSet);
}
}
Aggregations