|
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 | |
|---|---|
String |
ARCHIVES_CONFIGURATION
|
String |
CLASSIFIER
|
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. |
String
|
getGroup()
Returns the group of this dependency. |
String
|
getName()
Returns the name of this dependency. |
String
|
getVersion()
Returns the version of this dependency. |
| Field Detail |
|---|
public String ARCHIVES_CONFIGURATION
public String CLASSIFIER
public String DEFAULT_CONFIGURATION
| Method Detail |
|---|
public boolean contentEquals(Dependency dependency)
dependency - The dependency to compare this dependency with
public Dependency copy()
public String getGroup()
public String getName()
public String getVersion()
Gradle API 1.5