Package org.gradle.tooling.model.eclipse
Interface EclipseExternalDependency
- All Superinterfaces:
- Dependency,- EclipseClasspathEntry,- ExternalDependency
Represents an Eclipse-specific external artifact dependency.
- Since:
- 2.14
- 
Method SummaryModifier and TypeMethodDescriptionReturns the coordinates of the artifact that Gradle was not able to resolve.booleanReturnstrueif the current instance represents a resolved dependency.Methods inherited from interface org.gradle.tooling.model.eclipse.EclipseClasspathEntrygetAccessRules, getClasspathAttributesMethods inherited from interface org.gradle.tooling.model.ExternalDependencygetFile, getGradleModuleVersion, getJavadoc, getSource, isExported
- 
Method Details- 
isResolvedboolean isResolved()Returnstrueif the current instance represents a resolved dependency.If the target Gradle version is older than 6.7 then this method will always return true.- Since:
- 6.7
 
- 
getAttemptedSelectorReturns the coordinates of the artifact that Gradle was not able to resolve.Returns nullfor resolved dependencies (i.e. whenisResolved()returns true).If the target Gradle version is older than 6.7 then this method will always return null.- Since:
- 6.7
 
 
-