api / org.gradle.api.plugins / BasePluginConvention

BasePluginConvention

open class BasePluginConvention

A Convention used for the BasePlugin.

Constructors

<init>

BasePluginConvention(project: Project)

Functions

getArchivesBaseName

open fun getArchivesBaseName(): String

The base name to use for archive files.

getDistsDir

open fun getDistsDir(): File

Returns the directory to generate TAR and ZIP archives into.

getDistsDirName

open fun getDistsDirName(): String

The name for the distributions directory. This in interpreted relative to the project' build directory.

getLibsDir

open fun getLibsDir(): File

Returns the directory to generate JAR and WAR archives into.

getLibsDirName

open fun getLibsDirName(): String

The name for the libs directory. This in interpreted relative to the project' build directory.

getProject

open fun getProject(): ProjectInternal

setArchivesBaseName

open fun setArchivesBaseName(archivesBaseName: String): Unit

setDistsDirName

open fun setDistsDirName(distsDirName: String): Unit

setLibsDirName

open fun setLibsDirName(libsDirName: String): Unit

setProject

open fun setProject(project: ProjectInternal): Unit