|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
public interface Dependency
A 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.
| Field Summary | |
|---|---|
java.lang.String |
ARCHIVES_CONFIGURATION
|
java.lang.String |
CLASSIFIER
|
java.lang.String |
DEFAULT_CONFIGURATION
|
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
public java.lang.String ARCHIVES_CONFIGURATION
public java.lang.String CLASSIFIER
public java.lang.String DEFAULT_CONFIGURATION
| Method Detail |
|---|
public boolean contentEquals(Dependency dependency)
dependency - The dependency to compare this dependency with
public Dependency copy()
public java.lang.String getGroup()
public java.lang.String getName()
public java.lang.String getVersion()
Groovy Documentation