use of org.gradle.api.internal.artifacts.ivyservice.resolveengine.projectresult.ResolvedProjectConfiguration in project gradle by gradle.
the class DefaultConfiguration method markReferencedProjectConfigurationsObserved.
private void markReferencedProjectConfigurationsObserved(InternalState requestedState, ResolverResults results) {
ProjectInternal consumingProject = domainObjectContext.getProject();
ProjectState consumingProjectState = consumingProject == null ? null : consumingProject.getOwner();
for (ResolvedProjectConfiguration projectResult : results.getResolvedLocalComponents().getResolvedProjectConfigurations()) {
ProjectState targetProjectState = projectStateRegistry.stateFor(projectResult.getId());
dependencyObservedBroadcast.dependencyObserved(consumingProjectState, targetProjectState, requestedState, projectResult);
}
}
use of org.gradle.api.internal.artifacts.ivyservice.resolveengine.projectresult.ResolvedProjectConfiguration in project gradle by gradle.
the class DefaultConfiguration method markReferencedProjectConfigurationsObserved.
private void markReferencedProjectConfigurationsObserved(final InternalState requestedState) {
for (ResolvedProjectConfiguration projectResult : cachedResolverResults.getResolvedLocalComponents().getResolvedProjectConfigurations()) {
ProjectInternal project = projectFinder.getProject(projectResult.getId().getProjectPath());
ConfigurationInternal targetConfig = (ConfigurationInternal) project.getConfigurations().getByName(projectResult.getTargetConfiguration());
targetConfig.markAsObserved(requestedState);
}
}
Aggregations