Interface ExternalModuleDependency

All Superinterfaces:
Dependency, ExternalDependency, ModuleDependency, ModuleVersionSelector
All Known Subinterfaces:
ClientModule

public interface ExternalModuleDependency extends ExternalDependency

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

  • Method Details

    • isChanging

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

      ExternalModuleDependency setChanging(boolean changing)
      Sets whether or not 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 not Gradle should always check for a change in the remote repository
      Returns:
      this
    • 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.