api / org.gradle.api.component / SoftwareComponent

SoftwareComponent

@Incubating interface SoftwareComponent : Named

A software component produced by a Gradle software project.

An implementation of this interface may also implement:

Inherited Functions

getName

abstract fun getName(): String

The object's name.

Must be constant for the life of the object.

Inheritors

BuildableComponent

interface BuildableComponent : SoftwareComponent

Represents a component that can be built.

ComponentWithBinaries

interface ComponentWithBinaries : SoftwareComponent

Represents a component that is composed of one or more binaries.

ComponentWithCoordinates

interface ComponentWithCoordinates : SoftwareComponent

Represents a component that determines its publication coordinates.

ComponentWithDependencies

interface ComponentWithDependencies : SoftwareComponent

Represents a component with implementation dependencies.

ComponentWithNativeRuntime

interface ComponentWithNativeRuntime : SoftwareComponent

Represents a component that produces outputs that run on a native platform.

ComponentWithOutputs

interface ComponentWithOutputs : SoftwareComponent

Represents a component with output files.

ComponentWithVariants

interface ComponentWithVariants : SoftwareComponent

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

ProductionComponent

interface ProductionComponent : SoftwareComponent

Represents a component that is the main product of a project.

PublishableComponent

interface PublishableComponent : SoftwareComponent, ComponentWithCoordinates

Represents a component that can be published.

TestComponent

interface TestComponent : SoftwareComponent

Represents a component that can run tests.

TestSuiteComponent

interface TestSuiteComponent : SoftwareComponent

Represents a component that defines a test suite.