Groovy Documentation

org.gradle.api.artifacts
[Java] Interface ExternalModuleDependency

org.gradle.api.artifacts.Dependency
  org.gradle.api.artifacts.ExternalDependency
      org.gradle.plugins.ide.idea.model.ModuleDependency
          org.gradle.api.artifacts.ExternalModuleDependency
All Superinterfaces:
Dependency, ExternalDependency, ModuleDependency

public interface ExternalModuleDependency
extends ExternalDependency

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

Authors:
Hans Dockter


Method Summary
ExternalModuleDependency copy()

{@inheritDoc}

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 ExternalDependency
copy, isForce, setForce
 
Methods inherited from class ModuleDependency
addToNode, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

copy

public ExternalModuleDependency copy()
{@inheritDoc}


isChanging

public boolean isChanging()
Returns whether or nor Gradle should always check for a change in the remote repository.
See Also:
setChanging(boolean)


setChanging

public 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


 

Groovy Documentation