EclipseProjectDependency (Gradle API 2.14.1)

org.gradle.tooling.model.eclipse

## Interface EclipseProjectDependency

- All Superinterfaces:
    Dependency, EclipseClasspathEntry, ProjectDependency

      public interface EclipseProjectDependency
      extends ProjectDependency, EclipseClasspathEntry

  Represents a dependency on another Eclipse project.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getPath()` Returns the path to use for this project dependency.
    `EclipseProjectIdentifier` | `getTarget()` Returns the identifier of the target eclipse project.
    `HierarchicalEclipseProject` | `getTargetProject()` Deprecated.
    `boolean` | `isExported()` Marks this dependency as exported.

    - ### Methods inherited from interface org.gradle.tooling.model.eclipse.EclipseClasspathEntry

      `getClasspathAttributes`

- - ### Method Detail

    - #### getTargetProject

          @Deprecated
          HierarchicalEclipseProject getTargetProject()

      Deprecated.
      Returns the target of this dependency.
      Returns:
        The target project, or null for a dependency on a different build within a composite.

    - #### getTarget

          @Incubating
          EclipseProjectIdentifier getTarget()

      Returns the identifier of the target eclipse project.
      Returns:
        The target identifier, never null.
      Since:
        2.14

    - #### getPath

          String getPath()

      Returns the path to use for this project dependency.

    - #### isExported

          boolean isExported()

      Marks this dependency as exported.
      Returns:
        whether this dependency needs to be exported.
      Since:
        2.5