Interface ModuleDescription


  • public interface ModuleDescription
    Description of a module.
    Since:
    2.3
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.gradle.api.provider.Provider<java.lang.String> getModuleName()
      The name of the module that will be used for publication.
      org.gradle.api.provider.Provider<java.lang.String> getModuleVersion()
      The version of the module.
    • Method Detail

      • getModuleName

        org.gradle.api.provider.Provider<java.lang.String> getModuleName()
        The name of the module that will be used for publication.
        Returns:
        Provider to the module name.
      • getModuleVersion

        org.gradle.api.provider.Provider<java.lang.String> getModuleVersion()
        The version of the module.

        This is derived from the project version but is manipulated to be a three-part semantic version.

        Returns:
        Provider to the module version