ArtifactHandlerScope

class ArtifactHandlerScope : ArtifactHandlerDelegate(source)

Receiver for artifacts block providing convenient utilities for configuring artifacts.

See also

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun add(configurationName: String, artifactNotation: Any): PublishArtifact
open override fun add(configurationName: String, artifactNotation: Any, configureClosure: Closure<Any>): PublishArtifact
open override fun add(configurationName: String, artifactNotation: Any, configureAction: Action<in ConfigurablePublishArtifact>): PublishArtifact
Link copied to clipboard
inline operator fun invoke(configuration: ArtifactHandlerScope.() -> Unit)

Configures the artifacts.

operator fun String.invoke(artifactNotation: Any): PublishArtifact
operator fun Configuration.invoke(artifactNotation: Any): PublishArtifact
operator fun String.invoke(artifactNotation: Any, configureAction: ConfigurablePublishArtifact.() -> Unit): PublishArtifact
operator fun Configuration.invoke(artifactNotation: Any, configureAction: ConfigurablePublishArtifact.() -> Unit): PublishArtifact

Adds an artifact to the given configuration.

Link copied to clipboard
operator fun ArtifactHandler.invoke(configuration: ArtifactHandlerScope.() -> Unit)

Configures the published artifacts for this project.