Buildable, Dependency, HasAttributes, HasConfigurableAttributes<ModuleDependency>, ModuleDependency, SelfResolvingDependencypublic interface ProjectDependency extends ModuleDependency, SelfResolvingDependency
A ProjectDependency is a Dependency on another project in the current project hierarchy.
ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION| Modifier and Type | Method | Description |
|---|---|---|
ProjectDependency |
copy() |
Creates and returns a new dependency with the property values of this one.
|
TaskDependency |
getBuildDependencies() |
Deprecated.
This class will no longer implement
SelfResolvingDependency in Gradle 9.0 |
Project |
getDependencyProject() |
Returns the project associated with this project dependency.
|
java.util.Set<java.io.File> |
resolve() |
Deprecated.
This class will no longer implement
SelfResolvingDependency in Gradle 9.0 |
java.util.Set<java.io.File> |
resolve(boolean transitive) |
Deprecated.
This class will no longer implement
SelfResolvingDependency in Gradle 9.0 |
because, contentEquals, getGroup, getName, getReason, getVersionaddArtifact, artifact, artifact, attributes, capabilities, doNotEndorseStrictVersions, endorseStrictVersions, exclude, getArtifacts, getAttributes, getExcludeRules, getRequestedCapabilities, getTargetConfiguration, isEndorsingStrictVersions, isTransitive, setTargetConfiguration, setTransitiveProject getDependencyProject()
ProjectDependency copy()
copy in interface Dependencycopy in interface ModuleDependency@Deprecated TaskDependency getBuildDependencies()
SelfResolvingDependency in Gradle 9.0Buildable implementations
must ensure that the returned dependency object is live, so that it tracks changes to the dependencies of this
buildable.getBuildDependencies in interface Buildablejava.util.Set<java.io.File> resolve()
SelfResolvingDependency in Gradle 9.0ProjectDependency is resolved with transitive equals true
by this method.resolve in interface SelfResolvingDependencySelfResolvingDependency.resolve(boolean)java.util.Set<java.io.File> resolve(boolean transitive)
SelfResolvingDependency in Gradle 9.0ProjectDependency. In this case, if transitive is false,
only the self resolving dependencies of the project configuration which are no project dependencies are resolved. If transitive
is set to true, other project dependencies belonging to the configuration of the resolved project dependency are
resolved recursively.resolve in interface SelfResolvingDependencytransitive - Whether to resolve transitively. Has only an effect on a ProjectDependency