Search in sources :

Example 1 with BuildableComponentArtifactsResolveResult

use of org.gradle.internal.resolve.result.BuildableComponentArtifactsResolveResult in project gradle by gradle.

the class ResolvedArtifactsGraphVisitor method doResolve.

private Set<? extends VariantMetadata> doResolve(ComponentResolveMetadata component, ConfigurationMetadata configuration) {
    BuildableComponentArtifactsResolveResult result = new DefaultBuildableComponentArtifactsResolveResult();
    artifactResolver.resolveArtifacts(component, result);
    return result.getResult().getVariantsFor(configuration);
}
Also used : BuildableComponentArtifactsResolveResult(org.gradle.internal.resolve.result.BuildableComponentArtifactsResolveResult) DefaultBuildableComponentArtifactsResolveResult(org.gradle.internal.resolve.result.DefaultBuildableComponentArtifactsResolveResult) DefaultBuildableComponentArtifactsResolveResult(org.gradle.internal.resolve.result.DefaultBuildableComponentArtifactsResolveResult)

Aggregations

BuildableComponentArtifactsResolveResult (org.gradle.internal.resolve.result.BuildableComponentArtifactsResolveResult)1 DefaultBuildableComponentArtifactsResolveResult (org.gradle.internal.resolve.result.DefaultBuildableComponentArtifactsResolveResult)1