DistributionExtension

API Documentation:DistributionExtension

Note: This class is incubating and may change in a future version of Gradle.

Extension for JavaLibraryDistributionPlugin

The extension for the java-library-distribution plugin.

Use this class to configure the name of the distribution.

apply plugin: 'java-library-distribution'

distribution {
  name = 'my-name'
}

Properties

PropertyDescription
name
Incubating

The name of the distribution

Property details

String name

Note: This property is incubating and may change in a future version of Gradle.

The name of the distribution

Default value:
project.name

Script blocks

No script blocks

Methods

No methods