Schnittstelle ExternalDependency

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

public interface ExternalDependency extends ModuleDependency, ModuleVersionSelector

An ExternalDependency is a Dependency on a source outside the current project hierarchy.

  • Methodendetails

    • isForce

      boolean isForce()
      Returns whether or not the version of this dependency should be enforced in the case of version conflicts.
    • 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 ModuleDependency
      Gibt zurück:
      The copy. Never returns null.
    • version

      void version(Action<? super MutableVersionConstraint> configureAction)
      Configures the version constraint for this dependency.
      Parameter:
      configureAction - the configuration action for the module version
      Seit:
      4.4
    • getVersionConstraint

      VersionConstraint getVersionConstraint()
      Returns the version constraint to be used during selection.
      Gibt zurück:
      the version constraint
      Seit:
      4.4