toggle menu
gradle
8.12
API
switch theme
search in API
gradle
/
org.gradle.api.artifacts.component
/
LibraryComponentSelector
Library
Component
Selector
API
interface
LibraryComponentSelector
:
ComponentSelector
(
source
)
Criteria for selecting a library instance that is built as part of the current build.
Members
Functions
get
Attributes
Link copied to clipboard
API
abstract
fun
getAttributes
(
)
:
AttributeContainer
get
Capability
Selectors
Link copied to clipboard
API
abstract
fun
getCapabilitySelectors
(
)
:
Set
<
CapabilitySelector
>
get
Display
Name
Link copied to clipboard
API
abstract
fun
getDisplayName
(
)
:
String
get
Library
Name
Link copied to clipboard
API
@
Nullable
abstract
fun
getLibraryName
(
)
:
String
Return the library name of the selected library.
get
Project
Path
Link copied to clipboard
API
abstract
fun
getProjectPath
(
)
:
String
Return the project path of the selected library.
get
Requested
Capabilities
Link copied to clipboard
API
abstract
fun
getRequestedCapabilities
(
)
:
List
<
Capability
>
get
Variant
Link copied to clipboard
API
@
Nullable
abstract
fun
getVariant
(
)
:
String
matches
Strictly
Link copied to clipboard
API
abstract
fun
matchesStrictly
(
identifier
:
ComponentIdentifier
)
:
Boolean