public class ResolutionOptions extends Object
Constructor and Description |
---|
ResolutionOptions() |
Modifier and Type | Method and Description |
---|---|
ResolutionOptions |
addExclusion(String exclusion)
Adds an exclusion.
|
boolean |
equals(Object o) |
List<String> |
getExclusions() |
int |
hashCode() |
boolean |
isWithTransitive() |
ResolutionOptions |
removeExclusion(String exclusion)
Removes an exclusion.
|
ResolutionOptions |
setWithTransitive(boolean withTransitive)
Sets whether or not the resolution of the dependency should include the transitive dependencies.
|
public boolean isWithTransitive()
public ResolutionOptions setWithTransitive(boolean withTransitive)
withTransitive
- whether or not the resolution should also resolve the transitive dependencies, true
by default.ResolutionOptions
instancepublic ResolutionOptions addExclusion(String exclusion)
groupId:artifactId
.exclusion
- the exclusion to addResolutionOptions
instancepublic ResolutionOptions removeExclusion(String exclusion)
exclusion
- the exlusion to removeResolutionOptions
instanceaddExclusion(String)
Copyright © 2021 Eclipse. All rights reserved.