Class BasePluginConvention


  • public class BasePluginConvention
    extends Object

    A Convention used for the BasePlugin.

    • Constructor Detail

      • BasePluginConvention

        public BasePluginConvention​(Project project)
    • Method Detail

      • getDistsDir

        public File getDistsDir()
        Returns the directory to generate TAR and ZIP archives into.
        Returns:
        The directory. Never returns null.
      • getLibsDir

        public File getLibsDir()
        Returns the directory to generate JAR and WAR archives into.
        Returns:
        The directory. Never returns null.
      • getProject

        public org.gradle.api.internal.project.ProjectInternal getProject()
      • setProject

        public void setProject​(org.gradle.api.internal.project.ProjectInternal project)
      • getDistsDirName

        public String getDistsDirName()
        The name for the distributions directory. This in interpreted relative to the project' build directory.
      • setDistsDirName

        public void setDistsDirName​(String distsDirName)
      • getLibsDirName

        public String getLibsDirName()
        The name for the libs directory. This in interpreted relative to the project' build directory.
      • setLibsDirName

        public void setLibsDirName​(String libsDirName)
      • getArchivesBaseName

        public String getArchivesBaseName()
        The base name to use for archive files.
      • setArchivesBaseName

        public void setArchivesBaseName​(String archivesBaseName)