@Incubating public interface ComponentSelectionReason
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a human-consumable description of this selection reason.
|
boolean |
isConflictResolution()
Informs whether the component was selected by conflict resolution.
|
boolean |
isForced()
Informs whether the component was forced.
|
boolean |
isSelectedByRule()
Informs whether the component was selected by the dependency resolve rule.
|
boolean isForced()
ResolutionStrategy
or when declaring dependencies (see DependencyHandler
).boolean isConflictResolution()
ResolutionStrategy
contains information
about conflict resolution and includes means to configure it.boolean isSelectedByRule()
ResolutionStrategy.eachDependency(org.gradle.api.Action)
String getDescription()