Dependency, HasAttributes, HasConfigurableAttributes<ModuleDependency>, ModuleDependency, ModuleVersionSelectorClientModule, ExternalModuleDependencypublic 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 | Description | 
|---|---|---|
| ExternalDependency | copy() | Creates and returns a new dependency with the property values of this one. | 
| VersionConstraint | getVersionConstraint() | Returns the version constraint to be used during selection. | 
| 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. | 
| void | version(Action<? super MutableVersionConstraint> configureAction) | Configures the version constraint for this dependency. | 
because, contentEquals, getGroup, getName, getReason, getVersionaddArtifact, artifact, artifact, attributes, exclude, getArtifacts, getAttributes, getExcludeRules, getTargetConfiguration, isTransitive, setTargetConfiguration, setTransitivegetGroup, getModule, getName, getVersion, matchesStrictlyboolean isForce()
ExternalDependency setForce(boolean force)
force - Whether to force this version or not.ExternalDependency copy()
copy in interface Dependencycopy in interface ModuleDependency@Incubating void version(Action<? super MutableVersionConstraint> configureAction)
configureAction - the configuration action for the module version@Incubating VersionConstraint getVersionConstraint()