Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.artifacts
Interface ExternalModuleDependency

All Superinterfaces:
  Dependency, ExternalDependency, ModuleDependency

    public interface ExternalModuleDependency

extends ExternalDependency

A `ModuleDependency` is a `Dependency` on a module outside the current project hierarchy.

Field Summary

Fields inherited from interface org.gradle.api.artifacts.Dependency
`ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION`

Method Summary
`ExternalModuleDependency` | `copy()` Creates and returns a new dependency with the property values of this one.
`boolean` | `isChanging()` Returns whether or nor Gradle should always check for a change in the remote repository.
`ExternalModuleDependency` | `setChanging(boolean changing)` Sets whether or nor Gradle should always check for a change in the remote repository.

Methods inherited from interface org.gradle.api.artifacts.ExternalDependency
`isForce, setForce`

Methods inherited from interface org.gradle.api.artifacts.ModuleDependency
`addArtifact, exclude, getArtifacts, getConfiguration, getExcludeRules, isTransitive, setTransitive`

Methods inherited from interface org.gradle.api.artifacts.Dependency
`contentEquals, getGroup, getName, getVersion`

Method Detail

### isChanging

    boolean isChanging()

  Returns whether or nor Gradle should always check for a change in the remote repository.

  See Also:
    `setChanging(boolean)`

### setChanging

    ExternalModuleDependency setChanging(boolean changing)

  Sets whether or nor Gradle should always check for a change in the remote repository. If set to true, Gradle will check the remote repository even if a dependency with the same version is already in the local cache. Defaults to false.

  Parameters:
    `changing` - Whether or nor Gradle should always check for a change in the remote repository
  Returns:
    this

### copy

    ExternalModuleDependency copy()

  Creates and returns a new dependency with the property values of this one.

  Specified by:
    `copy` in interface `Dependency`
  Specified by:
    `copy` in interface `ExternalDependency`
  Specified by:
    `copy` in interface `ModuleDependency`
  Returns:
    The copy. Never returns null.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD