Schnittstelle EclipseExternalDependency

Alle Superschnittstellen:
Dependency, EclipseClasspathEntry, ExternalDependency

public interface EclipseExternalDependency extends ExternalDependency, EclipseClasspathEntry
Represents an Eclipse-specific external artifact dependency.
Seit:
2.14
  • Methodendetails

    • isResolved

      boolean isResolved()
      Returns 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.

      Seit:
      6.7
    • getAttemptedSelector

      @Nullable ComponentSelector getAttemptedSelector()
      Returns the coordinates of the artifact that Gradle was not able to resolve.

      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.

      Seit:
      6.7