gradle
8.2

# LibraryComponentSelector

interface LibraryComponentSelector : ComponentSelector

Criteria for selecting a library instance that is built as part of the current build.

## Functions

getAttributes
Link copied to clipboard
abstract fun getAttributes(): AttributeContainer
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
getLibraryName
Link copied to clipboard
@Nullable
abstract fun getLibraryName(): String
Return the library name of the selected library.
getProjectPath
Link copied to clipboard
abstract fun getProjectPath(): String
Return the project path of the selected library.
getRequestedCapabilities
Link copied to clipboard
abstract fun getRequestedCapabilities(): List<Capability>
getVariant
Link copied to clipboard
@Nullable
abstract fun getVariant(): String
matchesStrictly
Link copied to clipboard
abstract fun matchesStrictly(identifier: ComponentIdentifier): Boolean