Interface LibraryComponentSelector
- All Superinterfaces:
- ComponentSelector
Criteria for selecting a library instance that is built as part of the current build.
- 
Method SummaryModifier and TypeMethodDescriptionReturn the library name of the selected library.Return the project path of the selected library.Methods inherited from interface org.gradle.api.artifacts.component.ComponentSelectorgetAttributes, getCapabilitySelectors, getDisplayName, getRequestedCapabilities, matchesStrictly
- 
Method Details- 
getProjectPathString getProjectPath()Return the project path of the selected library.- Returns:
- the project path of the library
 
- 
getLibraryNameReturn the library name of the selected library. If the library name is null then it is expected to find a single library defined in same project as the requesting component or dependency resolution will fail. If notnullthen the name will never be empty.- Returns:
- the library name
 
- 
getVariant
 
-