use of org.gradle.api.internal.artifacts.ivyservice.ivyresolve.verification.DependencyVerificationOverride in project gradle by gradle.
the class DefaultConfigurationResolver method resolveArtifacts.
@Override
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, resolveState.failures, artifactResults, resolveState.fileDependencyResults, transientConfigurationResultsFactory, artifactTransforms, buildOperationExecutor, dependencyVerificationOverride);
results.artifactsResolved(new DefaultResolvedConfiguration(result), result);
}
use of org.gradle.api.internal.artifacts.ivyservice.ivyresolve.verification.DependencyVerificationOverride in project gradle by gradle.
the class DependencyManagementBuildScopeServices method createDependencyVerificationOverride.
DependencyVerificationOverride createDependencyVerificationOverride(StartParameterResolutionOverride startParameterResolutionOverride, BuildOperationExecutor buildOperationExecutor, ChecksumService checksumService, SignatureVerificationServiceFactory signatureVerificationServiceFactory, DocumentationRegistry documentationRegistry, ListenerManager listenerManager, BuildCommencedTimeProvider timeProvider, ServiceRegistry serviceRegistry) {
DependencyVerificationOverride override = startParameterResolutionOverride.dependencyVerificationOverride(buildOperationExecutor, checksumService, signatureVerificationServiceFactory, documentationRegistry, timeProvider, () -> serviceRegistry.get(GradleProperties.class));
registerBuildFinishedHooks(listenerManager, override);
return override;
}
Aggregations