Class BasePluginConvention

java.lang.Object
org.gradle.api.plugins.BasePluginConvention

public abstract class BasePluginConvention extends Object

A Convention used for the BasePlugin.

  • Constructor Details

    • BasePluginConvention

      public BasePluginConvention()
  • Method Details

    • getDistsDir

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

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

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

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

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

      public abstract void setDistsDirName(String distsDirName)
    • getLibsDirName

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

      public abstract void setLibsDirName(String libsDirName)
    • getArchivesBaseName

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

      public abstract void setArchivesBaseName(String archivesBaseName)