BasePluginConvention

API Documentation:BasePluginConvention

A Convention used for the BasePlugin.

Properties

PropertyDescription
archivesBaseName

The base name to use for archive files.

distsDir
Deprecated

The directory to generate TAR and ZIP archives into.

distsDirName

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

distsDirectory

The directory to generate TAR and ZIP archives into.

libsDir
Deprecated

The directory to generate JAR and WAR archives into.

libsDirName

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

libsDirectory

The directory to generate JAR and WAR archives into.

Methods

No methods

Script blocks

No script blocks

Property details

String archivesBaseName

The base name to use for archive files.

Default with java plugin:
project.name

File distsDir (read-only)

Note: This property is deprecated and will be removed in the next major version of Gradle.

The directory to generate TAR and ZIP archives into.

Default with java plugin:
${project.buildDir}/${project.distsDirName}

String distsDirName

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

Default with java plugin:
'distributions'

DirectoryProperty distsDirectory

The directory to generate TAR and ZIP archives into.

Default with java plugin:
${project.buildDir}/${project.distsDirName}

File libsDir (read-only)

Note: This property is deprecated and will be removed in the next major version of Gradle.

The directory to generate JAR and WAR archives into.

Default with java plugin:
${project.buildDir}/${project.libsDirName}

String libsDirName

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

Default with java plugin:
'libs'

DirectoryProperty libsDirectory

The directory to generate JAR and WAR archives into.

Default with java plugin:
${project.buildDir}/${project.libsDirName}