Package org.gradle.api.plugins
Class BasePluginConvention
- java.lang.Object
-
- org.gradle.api.plugins.BasePluginConvention
-
public class BasePluginConvention extends Object
A
Conventionused for the BasePlugin.
-
-
Constructor Summary
Constructors Constructor Description BasePluginConvention(Project project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetArchivesBaseName()The base name to use for archive files.FilegetDistsDir()Returns the directory to generate TAR and ZIP archives into.StringgetDistsDirName()The name for the distributions directory.FilegetLibsDir()Returns the directory to generate JAR and WAR archives into.StringgetLibsDirName()The name for the libs directory.org.gradle.api.internal.project.ProjectInternalgetProject()voidsetArchivesBaseName(String archivesBaseName)voidsetDistsDirName(String distsDirName)voidsetLibsDirName(String libsDirName)voidsetProject(org.gradle.api.internal.project.ProjectInternal project)
-
-
-
Constructor Detail
-
BasePluginConvention
public BasePluginConvention(Project project)
-
-
Method Detail
-
getDistsDir
public File getDistsDir()
Returns the directory to generate TAR and ZIP archives into.- Returns:
- The directory. Never returns null.
-
getLibsDir
public File 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
public String getDistsDirName()
The name for the distributions directory. This in interpreted relative to the project' build directory.
-
setDistsDirName
public void setDistsDirName(String distsDirName)
-
getLibsDirName
public String getLibsDirName()
The name for the libs directory. This in interpreted relative to the project' build directory.
-
setLibsDirName
public void setLibsDirName(String libsDirName)
-
getArchivesBaseName
public String getArchivesBaseName()
The base name to use for archive files.
-
setArchivesBaseName
public void setArchivesBaseName(String archivesBaseName)
-
-