@Incubating interface LibraryComponentSelector : ComponentSelector
Criteria for selecting a library instance that is built as part of the current build.
abstract fun getLibraryName(): String
Return 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 not |
|
abstract fun getProjectPath(): String
Return the project path of the selected library. |
|
abstract fun getVariant(): String |
abstract fun getAttributes(): AttributeContainer
The attributes of the module to select the component from. The attributes only include selector specific attributes. This means it typically doesn't include any consumer specific attribute. |
|
abstract fun getDisplayName(): String
Returns a human-consumable display name for this selector. |
|
abstract fun matchesStrictly(identifier: ComponentIdentifier): Boolean
Checks if selector matches component identifier. |