KotlinTargetComponent

A special type of SoftwareComponent to define how and what to publish in maven repository for Kotlin projects.

The KotlinTargetComponent is an internal representation/implementation of Gradle's SoftwareComponent in the Kotlin Gradle plugin and is planned for removal from the public API.

For more information about the plans for this API, see this issue in YouTrack.

Properties

Link copied to clipboard

Defines the default artifact ID for the Kotlin target component.

Link copied to clipboard
abstract val publishable: Boolean

Indicates whether this KotlinTargetComponent can be published.

Link copied to clipboard

Indicates whether the current KotlinTargetComponent can be published on the current host.

Link copied to clipboard
abstract val target: KotlinTarget

The Kotlin target that this component belongs to.

Functions

Link copied to clipboard
abstract fun getName(): String