Package org.gradle.api.artifacts
Interface ExternalModuleDependency
- All Superinterfaces:
- Dependency,- ExternalDependency,- HasAttributes,- HasConfigurableAttributes<ModuleDependency>,- ModuleDependency,- ModuleVersionSelector
- All Known Subinterfaces:
- ClientModule,- MinimalExternalModuleDependency
A ExternalModuleDependency is a Dependency on a module outside the current project hierarchy.
- 
Field SummaryFields inherited from interface org.gradle.api.artifacts.DependencyARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION
- 
Method SummaryModifier and TypeMethodDescriptioncopy()Creates and returns a new dependency with the property values of this one.booleanIndicates that the given dependency can have different content for the same identifier.setChanging(boolean changing) Sets the dependency as "changing" or "not changing".Methods inherited from interface org.gradle.api.artifacts.Dependencybecause, contentEquals, getGroup, getName, getReason, getVersionMethods inherited from interface org.gradle.api.artifacts.ExternalDependencygetVersionConstraint, isForce, versionMethods inherited from interface org.gradle.api.artifacts.ModuleDependencyaddArtifact, artifact, artifact, attributes, capabilities, doNotEndorseStrictVersions, endorseStrictVersions, exclude, getArtifacts, getAttributes, getCapabilitySelectors, getExcludeRules, getRequestedCapabilities, getTargetConfiguration, isEndorsingStrictVersions, isTransitive, setTargetConfiguration, setTransitiveMethods inherited from interface org.gradle.api.artifacts.ModuleVersionSelectorgetGroup, getModule, getName, getVersion, matchesStrictly
- 
Method Details- 
isChangingboolean isChanging()Indicates that the given dependency can have different content for the same identifier.- See Also:
 
- 
setChangingSets the dependency as "changing" or "not changing". If set to true, the dependency is marked as "changing." Gradle will periodically check the remote repository for updates, even if the local cache entry has not yet expired. Defaults to false.- Parameters:
- changing- if true, the dependency is considered changing and Gradle should check for a change in the remote repository, even if a local entry exists.
- Returns:
- this
 
- 
copyExternalModuleDependency copy()Creates and returns a new dependency with the property values of this one.- Specified by:
- copyin interface- Dependency
- Specified by:
- copyin interface- ExternalDependency
- Specified by:
- copyin interface- ModuleDependency
- Returns:
- The copy. Never returns null.
 
 
-