Schnittstelle ExternalModuleDependency

Alle Superschnittstellen:
Dependency, ExternalDependency, HasAttributes, HasConfigurableAttributes<ModuleDependency>, ModuleDependency, ModuleVersionSelector
Alle bekannten Unterschnittstellen:
ClientModule, MinimalExternalModuleDependency

public interface ExternalModuleDependency extends ExternalDependency

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

  • Methodendetails

    • isChanging

      boolean isChanging()
      Indicates that the given dependency can have different content for the same identifier.
      Siehe auch:
    • setChanging

      ExternalModuleDependency setChanging(boolean changing)
      Sets 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.
      Parameter:
      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.
      Gibt zurück:
      this
    • copy

      Creates and returns a new dependency with the property values of this one.
      Angegeben von:
      copy in Schnittstelle Dependency
      Angegeben von:
      copy in Schnittstelle ExternalDependency
      Angegeben von:
      copy in Schnittstelle ModuleDependency
      Gibt zurück:
      The copy. Never returns null.