org.gradle.api.artifacts
Interface ProjectDependency
- All Superinterfaces:
- Buildable, Dependency, ModuleDependency, SelfResolvingDependency
public interface ProjectDependency
- extends ModuleDependency, SelfResolvingDependency
A ProjectDependency
is a Dependency
on another project in the current project hierarchy.
getDependencyProject
Project getDependencyProject()
- Returns the project associated with this project dependency.
getProjectConfiguration
Configuration getProjectConfiguration()
- Returns the configuration associated with this project dependency. The configuration belongs to the project
associated with this project dependency.
- See Also:
getDependencyProject()
copy
ProjectDependency copy()
- Creates and returns a new dependency with the property values of this one.
- Specified by:
copy
in interface Dependency
- Specified by:
copy
in interface ModuleDependency
- Returns:
- The copy. Never returns null.