@Incubating public interface ComponentSelectionReason
修飾子とタイプ | メソッドと説明 |
---|---|
String |
getDescription()
Returns a human-consumable description of this selection reason.
|
boolean |
isConflictResolution()
Informs whether the component was selected by conflict resolution.
|
boolean |
isExpected()
Informs whether the component is the requested selection of all dependency declarations, and was not replaced for some reason, such as 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)
boolean isExpected()
String getDescription()