# BasePluginConvention

API Documentation: | `BasePluginConvention`

A `Convention` used for the BasePlugin.

### Properties

Property | Description
`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.

This property has been replaced by distsDirectory.

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.

This property has been replaced by libsDirectory.

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}``