Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

## org.gradle.api.artifacts
Interface ProjectDependency

    org.gradle.api.artifacts.ModuleDependency
      org.gradle.api.artifacts.ProjectDependency
          org.gradle.api.artifacts.Dependency

All Superinterfaces:
  ModuleDependency, Dependency

    interface ProjectDependency
    extends ModuleDependency

A `ProjectDependency` is a org.gradle.api.artifacts.Dependency on another project in the current project hierarchy.

author:
  Hans Dockter

Method Summary
`ProjectDependency` | `copy()` {
`Project` | `getDependencyProject()` Returns the project associated with this project dependency
`Configuration` | `getProjectConfiguration()` Returns the configuration associated with this project dependency.

Methods inherited from interface ModuleDependency
addArtifact, copy, exclude, getArtifacts, getConfiguration, getExcludeRules, isTransitive, setTransitive

Methods inherited from interface Dependency
contentEquals, copy, getGroup, getName, getVersion

Method Detail

### copy

    public ProjectDependency copy()

  {@inheritDoc}

### getDependencyProject

    public Project getDependencyProject()

  Returns the project associated with this project dependency

### getProjectConfiguration

    public Configuration getProjectConfiguration()

  Returns the configuration associated with this project dependency. The configuration belongs to the project associated with this project dependency.
  see:
    #getDependencyProject()

Groovy Documentation