Class BasePluginConvention
java.lang.Object
org.gradle.api.plugins.BasePluginConvention
A Convention used for the BasePlugin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe base name to use for archive files.Returns the directory to generate TAR and ZIP archives into.The name for the distributions directory.Returns the directory to generate JAR and WAR archives into.The name for the libs directory.org.gradle.api.internal.project.ProjectInternalvoidsetArchivesBaseName(String archivesBaseName) voidsetDistsDirName(String distsDirName) voidsetLibsDirName(String libsDirName) voidsetProject(org.gradle.api.internal.project.ProjectInternal project)
-
Constructor Details
-
BasePluginConvention
-
-
Method Details
-
getDistsDir
Returns the directory to generate TAR and ZIP archives into.- Returns:
- The directory. Never returns null.
-
getLibsDir
Returns the directory to generate JAR and WAR archives into.- Returns:
- The directory. Never returns null.
-
getProject
public org.gradle.api.internal.project.ProjectInternal getProject() -
setProject
public void setProject(org.gradle.api.internal.project.ProjectInternal project) -
getDistsDirName
The name for the distributions directory. This in interpreted relative to the project' build directory. -
setDistsDirName
-
getLibsDirName
The name for the libs directory. This in interpreted relative to the project' build directory. -
setLibsDirName
-
getArchivesBaseName
The base name to use for archive files. -
setArchivesBaseName
-