LibraryComponentSelector

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

Functions

Link copied to clipboard
The attributes of the module to select the component from.
Link copied to clipboard
Returns the set of capabilities that are requested for this component.
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human-consumable display name for this selector.
Link copied to clipboard
@Nullable
abstract fun getLibraryName(): @Nullable String
Return the library name of the selected library.
Link copied to clipboard
abstract fun getProjectPath(): String
Return the project path of the selected library.
Link copied to clipboard
The explicitly requested capabilities for this component.
Link copied to clipboard
@Nullable
abstract fun getVariant(): @Nullable String
Link copied to clipboard
abstract fun matchesStrictly(identifier: ComponentIdentifier): Boolean
Checks if selector matches component identifier.