Represents a dependency independent of any dependency resolution engine (ivy or aether)
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
WILDCARD |
Type | Name and description |
---|---|
java.lang.String |
classifier |
java.util.List<Dependency> |
excludes |
boolean |
exported |
java.lang.String |
extension |
java.lang.String |
group |
boolean |
inherited |
java.lang.String |
name |
boolean |
transitive |
java.lang.String |
version |
Constructor and description |
---|
Dependency
(java.lang.String group, java.lang.String name, java.lang.String version, java.lang.String... exc) |
Dependency
(java.lang.String group, java.lang.String name, java.lang.String version, boolean inherited, java.lang.String... exc) |
Dependency
(java.lang.String group, java.lang.String name, java.lang.String version, boolean inherited, boolean transitive) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
exclude(java.lang.String name) |
|
void |
exclude(java.lang.String group, java.lang.String name) |
|
java.lang.String[] |
getExcludeArray() |
|
java.lang.String |
getPattern() Dependency pattern |
|
java.lang.String[] |
getTokens() Array of tokens for the group, name and version |
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Dependency pattern
Array of tokens for the group, name and version
Groovy Documentation