Schnittstelle ClientModule

Alle Superschnittstellen:
Dependency, ExternalDependency, ExternalModuleDependency, HasAttributes, HasConfigurableAttributes<ModuleDependency>, ModuleDependency, ModuleVersionSelector

@Deprecated public interface ClientModule extends ExternalModuleDependency
Veraltet.
To model a module in your dependency declarations. Usually you can either declare a single dependency artifact or you declare a module dependency that depends on a module descriptor in a repository. With a client module you can declare a module dependency without the need of a module descriptor in a remote repository.

Client modules dependencies are deprecated and will be removed in Gradle 9.0. Please use component metadata rules instead.

Siehe auch:
  • Methodendetails

    • addDependency

      void addDependency(ModuleDependency dependency)
      Veraltet.
      Add a dependency to the client module. Such a dependency is transitive dependency for the project that has a dependency on the client module.
      Parameter:
      dependency - The dependency to add to the client module.
      Siehe auch:
    • getId

      String getId()
      Veraltet.
      Returns the id of the client module. This is usually only used for internal handling of the client module.
      Gibt zurück:
      The id of the client module
    • getDependencies

      Set<ModuleDependency> getDependencies()
      Veraltet.
      Returns all the dependencies added to the client module.
      Siehe auch:
    • copy

      ClientModule copy()
      Veraltet.
      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 ExternalModuleDependency
      Angegeben von:
      copy in Schnittstelle ModuleDependency
      Gibt zurück:
      The copy. Never returns null.