Interface ModulePublishTarget<T>


  • public interface ModulePublishTarget<T>
    Defines a configurable item that is the link between a module repository and a module.
    Since:
    2.1
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void eachModule​(org.gradle.api.Action<T> c)
      Configure each module linked to this publisher.
      void module​(java.lang.String moduleName, org.gradle.api.Action<T> c)
      Allow a module to be published to this target.
    • Method Detail

      • module

        void module​(java.lang.String moduleName,
                    org.gradle.api.Action<T> c)
        Allow a module to be published to this target.
        Parameters:
        moduleName - Name of the module.
        c - Configurator.
      • eachModule

        void eachModule​(org.gradle.api.Action<T> c)
        Configure each module linked to this publisher.
        Parameters:
        c - Configurator
        Since:
        2.2