Package org.gradle.api.plugins
Interface BasePluginExtension
-
public interface BasePluginExtension
An 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.String
getArchivesBaseName()
Deprecated.UsegetArchivesName()
.Property<java.lang.String>
getArchivesName()
The base name to use for archive files.DirectoryProperty
getDistsDirectory()
Returns the directory to generate TAR and ZIP archives into.java.lang.String
getDistsDirName()
Deprecated.UsegetDistsDirectory()
.DirectoryProperty
getLibsDirectory()
Returns the directory to generate JAR and WAR archives into.java.lang.String
getLibsDirName()
Deprecated.UsegetLibsDirectory()
.void
setArchivesBaseName(java.lang.String archivesBaseName)
Deprecated.UsegetArchivesName()
.void
setDistsDirName(java.lang.String distsDirName)
Deprecated.UsegetDistsDirectory()
.void
setLibsDirName(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.
-
-