Class BasePluginConvention
java.lang.Object
org.gradle.api.plugins.BasePluginConvention
A Convention used for the BasePlugin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringThe base name to use for archive files.abstract FileDeprecated.abstract StringThe name for the distributions directory.abstract FileDeprecated.abstract StringThe name for the libs directory.abstract org.gradle.api.internal.project.ProjectInternalabstract voidsetArchivesBaseName(String archivesBaseName) abstract voidsetDistsDirName(String distsDirName) abstract voidsetLibsDirName(String libsDirName) abstract voidsetProject(org.gradle.api.internal.project.ProjectInternal project)
-
Constructor Details
-
BasePluginConvention
public BasePluginConvention()
-
-
Method Details
-
getDistsDir
Deprecated.Returns the directory to generate TAR and ZIP archives into.- Returns:
- The directory. Never returns null.
-
getLibsDir
Deprecated.Returns the directory to generate JAR and WAR archives into.- Returns:
- The directory. Never returns null.
-
getProject
public abstract org.gradle.api.internal.project.ProjectInternal getProject() -
setProject
public abstract 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
-