Dependency, EclipseClasspathEntry, ExternalDependencypublic interface EclipseExternalDependency extends ExternalDependency, EclipseClasspathEntry
| Modifier and Type | Method | Description |
|---|---|---|
ComponentSelector |
getAttemptedSelector() |
Returns the coordinates of the artifact that Gradle was not able to resolve.
|
boolean |
isResolved() |
Returns
true if the current instance represents a resolved dependency. |
getAccessRules, getClasspathAttributesgetFile, getGradleModuleVersion, getJavadoc, getSource, isExportedboolean isResolved()
true if the current instance represents a resolved dependency.
If the target Gradle version is older than 6.7 then this method will always return true.
@Nullable ComponentSelector getAttemptedSelector()
Returns null for resolved dependencies (i.e. when isResolved() returns true).
If the target Gradle version is older than 6.7 then this method will always return null.