public interface Dependency
Dependency
represents a dependency on the artifacts from a particular source. A source can be an Ivy
module, a Maven POM, another Gradle project, a collection of Files, etc... A source can have zero or more artifacts.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARCHIVES_CONFIGURATION |
static java.lang.String |
CLASSIFIER |
static java.lang.String |
DEFAULT_CONFIGURATION |
Modifier and Type | Method and Description |
---|---|
boolean |
contentEquals(Dependency dependency)
Returns whether two dependencies have identical values for their properties.
|
Dependency |
copy()
Creates and returns a new dependency with the property values of this one.
|
java.lang.String |
getGroup()
Returns the group of this dependency.
|
java.lang.String |
getName()
Returns the name of this dependency.
|
java.lang.String |
getVersion()
Returns the version of this dependency.
|
static final java.lang.String DEFAULT_CONFIGURATION
static final java.lang.String ARCHIVES_CONFIGURATION
static final java.lang.String CLASSIFIER
java.lang.String getGroup()
java.lang.String getName()
java.lang.String getVersion()
boolean contentEquals(Dependency dependency)
dependency
- The dependency to compare this dependency withDependency copy()