Search in sources :

Example 1 with TransientConfigurationResultsLoader

use of org.gradle.api.internal.artifacts.ivyservice.resolveengine.oldresult.TransientConfigurationResultsLoader in project gradle by gradle.

the class DefaultConfigurationResolver method resolveArtifacts.

public void resolveArtifacts(ConfigurationInternal configuration, ResolverResults results) {
    ArtifactResolveState resolveState = (ArtifactResolveState) results.getArtifactResolveState();
    ResolvedGraphResults graphResults = resolveState.graphResults;
    VisitedArtifactsResults artifactResults = resolveState.artifactsResults;
    TransientConfigurationResultsBuilder transientConfigurationResultsBuilder = resolveState.transientConfigurationResultsBuilder;
    TransientConfigurationResultsLoader transientConfigurationResultsFactory = new TransientConfigurationResultsLoader(transientConfigurationResultsBuilder, graphResults);
    DefaultLenientConfiguration result = new DefaultLenientConfiguration(configuration, cacheLockingManager, graphResults.getUnresolvedDependencies(), artifactResults, resolveState.fileDependencyResults, transientConfigurationResultsFactory, artifactTransforms);
    results.artifactsResolved(new DefaultResolvedConfiguration(result, configuration.getAttributes()), result);
}
Also used : TransientConfigurationResultsBuilder(org.gradle.api.internal.artifacts.ivyservice.resolveengine.oldresult.TransientConfigurationResultsBuilder) TransientConfigurationResultsLoader(org.gradle.api.internal.artifacts.ivyservice.resolveengine.oldresult.TransientConfigurationResultsLoader) ResolvedGraphResults(org.gradle.api.internal.artifacts.ivyservice.resolveengine.oldresult.ResolvedGraphResults) VisitedArtifactsResults(org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.VisitedArtifactsResults)

Aggregations

VisitedArtifactsResults (org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.VisitedArtifactsResults)1 ResolvedGraphResults (org.gradle.api.internal.artifacts.ivyservice.resolveengine.oldresult.ResolvedGraphResults)1 TransientConfigurationResultsBuilder (org.gradle.api.internal.artifacts.ivyservice.resolveengine.oldresult.TransientConfigurationResultsBuilder)1 TransientConfigurationResultsLoader (org.gradle.api.internal.artifacts.ivyservice.resolveengine.oldresult.TransientConfigurationResultsLoader)1