Groovy Documentation

org.gradle.api.artifacts
Interface ProjectDependency

org.gradle.api.artifacts.ProjectDependency
  org.gradle.api.artifacts.Dependency
      org.gradle.api.artifacts.ModuleDependency
All Superinterfaces:
Dependency, ModuleDependency

interface ProjectDependency
extends ModuleDependency

A ProjectDependency is a 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