ComponentSpec

API Documentation:ComponentSpec

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

A software component that is built by a Gradle project.

Properties

PropertyDescription
binaries
Incubating

The binaries that are built for this component. You can use this to configure the binaries for this component.

displayName
Incubating

Returns a human-consumable display name for this component.

source
Incubating

The source sets that are used to build this component.

Methods

MethodDescription
sources(action)
Incubating

Configure the source sets used to build this component.

Script blocks

No script blocks

Property details

DomainObjectSet<BinarySpec> binaries (read-only)

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

The binaries that are built for this component. You can use this to configure the binaries for this component.

String displayName (read-only)

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

Returns a human-consumable display name for this component.

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

The source sets that are used to build this component.

Method details

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

Configure the source sets used to build this component.