api / org.gradle.api.component

Package org.gradle.api.component

Types

Artifact

interface Artifact

An artifact of a software component that may be requested in the result of an artifact query.

BuildableComponent

interface BuildableComponent : SoftwareComponent

Represents a component that can be built.

Component

interface Component

A software component that can be queried via the Artifact Query API.

ComponentWithCoordinates

interface ComponentWithCoordinates : SoftwareComponent

Represents a component that determines its publication coordinates.

ComponentWithVariants

interface ComponentWithVariants : SoftwareComponent

Represents a SoftwareComponent that provides one or more mutually exclusive children, or variants.

PublishableComponent

interface PublishableComponent : SoftwareComponent, ComponentWithCoordinates

Represents a component that can be published.

SoftwareComponent

interface SoftwareComponent : Named

A software component produced by a Gradle software project.

An implementation of this interface may also implement:

  • ComponentWithVariants to provide information about the variants that the component provides.

SoftwareComponentContainer

interface SoftwareComponentContainer : NamedDomainObjectSet<SoftwareComponent>

A Container that contains all of the Software Components produced by a Project.