Class BasePluginConvention

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

@Deprecated public abstract class BasePluginConvention extends Object
Deprecated.
Use BasePluginExtension instead. This class is scheduled for removal in Gradle 9.0.

A Convention used for the BasePlugin.

  • Constructor Details

    • BasePluginConvention

      public BasePluginConvention()
      Deprecated.
  • Method Details

    • getDistsDirectory

      public abstract DirectoryProperty getDistsDirectory()
      Deprecated.
      Returns the directory to generate TAR and ZIP archives into.
      Returns:
      The directory. Never returns null.
      Since:
      6.0
    • getLibsDirectory

      public abstract DirectoryProperty getLibsDirectory()
      Deprecated.
      Returns the directory to generate JAR and WAR archives into.
      Returns:
      The directory. Never returns null.
      Since:
      6.0
    • getDistsDirName

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

      public abstract void setDistsDirName(String distsDirName)
      Deprecated.
    • getLibsDirName

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

      public abstract void setLibsDirName(String libsDirName)
      Deprecated.
    • getArchivesBaseName

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

      public abstract void setArchivesBaseName(String archivesBaseName)
      Deprecated.