Package org.gradle.api.plugins
Interface BasePluginExtension
-
public interface BasePluginExtensionAn extension used forBasePlugin.Replaces
BasePluginConvention.- Since:
- 7.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetArchivesBaseName()Deprecated.UsegetArchivesName().Property<java.lang.String>getArchivesName()The base name to use for archive files.DirectoryPropertygetDistsDirectory()Returns the directory to generate TAR and ZIP archives into.java.lang.StringgetDistsDirName()Deprecated.UsegetDistsDirectory().DirectoryPropertygetLibsDirectory()Returns the directory to generate JAR and WAR archives into.java.lang.StringgetLibsDirName()Deprecated.UsegetLibsDirectory().voidsetArchivesBaseName(java.lang.String archivesBaseName)Deprecated.UsegetArchivesName().voidsetDistsDirName(java.lang.String distsDirName)Deprecated.UsegetDistsDirectory().voidsetLibsDirName(java.lang.String libsDirName)Deprecated.UsegetLibsDirectory().
-
-
-
Method Detail
-
getDistsDirectory
DirectoryProperty getDistsDirectory()
Returns the directory to generate TAR and ZIP archives into.- Returns:
- The directory. Never returns null.
-
getLibsDirectory
DirectoryProperty getLibsDirectory()
Returns the directory to generate JAR and WAR archives into.- Returns:
- The directory. Never returns null.
-
getArchivesName
Property<java.lang.String> getArchivesName()
The base name to use for archive files.
-
getDistsDirName
@Deprecated java.lang.String getDistsDirName()
Deprecated.UsegetDistsDirectory(). This method is scheduled for removal in Gradle 9.0.This method is only here to maintain compatibility with existing builds.
-
setDistsDirName
@Deprecated void setDistsDirName(java.lang.String distsDirName)
Deprecated.UsegetDistsDirectory(). This method is scheduled for removal in Gradle 9.0.This method is only here to maintain compatibility with existing builds.
-
getLibsDirName
@Deprecated java.lang.String getLibsDirName()
Deprecated.UsegetLibsDirectory(). This method is scheduled for removal in Gradle 9.0.This method is only here to maintain compatibility with existing builds.
-
setLibsDirName
@Deprecated void setLibsDirName(java.lang.String libsDirName)
Deprecated.UsegetLibsDirectory(). This method is scheduled for removal in Gradle 9.0.This method is only here to maintain compatibility with existing builds.
-
getArchivesBaseName
@Deprecated java.lang.String getArchivesBaseName()
Deprecated.UsegetArchivesName(). This method is scheduled for removal in Gradle 9.0.This method is only here to maintain compatibility with existing builds.
-
setArchivesBaseName
@Deprecated void setArchivesBaseName(java.lang.String archivesBaseName)
Deprecated.UsegetArchivesName(). This method is scheduled for removal in Gradle 9.0.This method is only here to maintain compatibility with existing builds.
-
-