public interface ExternalDependency extends ModuleDependency, ModuleVersionSelector
An ExternalDependency
is a Dependency
on a source outside the current project hierarchy.
ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION
Modifier and Type | Method and Description |
---|---|
ExternalDependency |
copy()
Creates and returns a new dependency with the property values of this one.
|
boolean |
isForce()
Returns whether or not the version of this dependency should be enforced in the case of version conflicts.
|
ExternalDependency |
setForce(boolean force)
Sets whether or not the version of this dependency should be enforced in the case of version conflicts.
|
addArtifact, artifact, exclude, getArtifacts, getConfiguration, getExcludeRules, isTransitive, setTransitive
contentEquals, getGroup, getName, getVersion
getGroup, getName, getVersion, matchesStrictly
boolean isForce()
ExternalDependency setForce(boolean force)
force
- Whether to force this version or not.ExternalDependency copy()
copy
in interface Dependency
copy
in interface ModuleDependency