Interface ProjectDependency
- All Superinterfaces:
Buildable, Dependency, ModuleDependency, SelfResolvingDependency
A ProjectDependency is a Dependency on another project in the current project hierarchy.
-
Field Summary
Fields inherited from interface Dependency
ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates and returns a new dependency with the property values of this one.Returns the project associated with this project dependency.Methods inherited from interface Buildable
getBuildDependenciesMethods inherited from interface Dependency
contentEquals, getGroup, getName, getVersionMethods inherited from interface ModuleDependency
addArtifact, artifact, artifact, exclude, getArtifacts, getExcludeRules, getTargetConfiguration, isTransitive, setTargetConfiguration, setTransitiveMethods inherited from interface SelfResolvingDependency
resolve, resolve
-
Method Details
-
getDependencyProject
Project getDependencyProject()Returns the project associated with this project dependency. -
copy
ProjectDependency copy()Creates and returns a new dependency with the property values of this one.- Specified by:
copyin interfaceDependency- Specified by:
copyin interfaceModuleDependency- Returns:
- The copy. Never returns null.
-