|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.artifacts.ExternalDependency org.gradle.plugins.ide.idea.model.ModuleDependency org.gradle.api.artifacts.Dependency org.gradle.api.artifacts.ModuleVersionSelector
public interface ExternalDependency extends ModuleDependency, ModuleVersionSelector
An ExternalDependency is a Dependency on a source outside the current project hierarchy.
Method Summary | |
---|---|
ExternalDependency
|
copy()
{@inheritDoc} |
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. |
Methods inherited from class ModuleDependency | |
---|---|
addToNode, equals, hashCode, toString |
Methods inherited from interface ModuleVersionSelector | |
---|---|
getGroup, getName, getVersion, matchesStrictly |
Method Detail |
---|
public ExternalDependency copy()
public boolean isForce()
public ExternalDependency setForce(boolean force)
force
- Whether to force this version or not.
Gradle API 1.12