use of org.gradle.api.artifacts.component.ComponentSelector in project gradle by gradle.
the class DefaultLibraryLocalComponentMetadata method binaryDependencyMetadata.
private LocalOriginDependencyMetadata binaryDependencyMetadata(LibraryBinaryDependencySpec binarySpec, String usageConfigurationName) {
String projectPath = binarySpec.getProjectPath();
String libraryName = binarySpec.getLibraryName();
ComponentSelector selector = new DefaultLibraryComponentSelector(projectPath, libraryName, binarySpec.getVariant());
return dependencyMetadataFor(selector, usageConfigurationName, usageConfigurationName);
}
Aggregations