Package org.gradle.api.plugins
Interface BasePluginExtension
public interface BasePluginExtension
An extension used for
BasePlugin
.
Replaces BasePluginConvention
.
- Since:
- 7.1
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The base name to use for archive files.Returns the directory to generate TAR and ZIP archives into.Deprecated.UsegetDistsDirectory()
.Returns the directory to generate JAR and WAR archives into.Deprecated.UsegetLibsDirectory()
.void
setArchivesBaseName
(String archivesBaseName) Deprecated.UsegetArchivesName()
.void
setDistsDirName
(String distsDirName) Deprecated.UsegetDistsDirectory()
.void
setLibsDirName
(String libsDirName) Deprecated.UsegetLibsDirectory()
.
-
Method Details
-
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
The base name to use for archive files. -
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.UsegetDistsDirectory()
. This method is scheduled for removal in Gradle 9.0.This method is only here to maintain compatibility with existing builds. -
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.UsegetLibsDirectory()
. This method is scheduled for removal in Gradle 9.0.This method is only here to maintain compatibility with existing builds. -
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.UsegetArchivesName()
. This method is scheduled for removal in Gradle 9.0.This method is only here to maintain compatibility with existing builds.
-
getArchivesName()
.