Groovy Documentation

org.gradle.api.artifacts
[Java] Interface ProjectDependency

org.gradle.api.artifacts.SelfResolvingDependency
  org.gradle.api.artifacts.ProjectDependency
      org.gradle.api.Buildable
          org.gradle.plugins.idea.model.ModuleDependency
              org.gradle.tooling.model.Dependency
All Superinterfaces:
SelfResolvingDependency, Buildable, ModuleDependency, Dependency

public interface ProjectDependency
extends ModuleDependency, SelfResolvingDependency

A ProjectDependency is a Dependency on another project in the current project hierarchy.

Authors:
Hans Dockter


Method Summary
ProjectDependency copy()

{@inheritDoc}

Project getDependencyProject()

Returns the project associated with this project dependency.

Configuration getProjectConfiguration()

Returns the configuration associated with this project dependency.

 
Methods inherited from interface SelfResolvingDependency
resolve, resolve
 
Methods inherited from class ModuleDependency
addToNode, equals, hashCode, toString
 

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 Also:
getDependencyProject()


 

Groovy Documentation