- getArtifact
Gets the artifact being depended on.
- <init>
Creates a dependency on the specified artifact with the given scope and
exclusions.
- getScope
Gets the scope of the dependency. The scope defines in which context this
dependency is relevant.
- isOptional
Indicates whether this dependency is optional or not. Optional dependencies can
usually be ignored d
- toString
- setArtifact
Sets the artifact being depended on.
- setScope
Sets the scope of the dependency, e.g. "compile".
- equals
- getExclusions
Gets the exclusions for this dependency. Exclusions can be used to remove
transitive dependencies du
- setExclusions
Sets the exclusions for the dependency.