# ArtifactHandlerScope

class ArtifactHandlerScope : ArtifactHandlerDelegate(source)

Receiver for `artifacts` block providing convenient utilities for configuring artifacts.

#### See also

ArtifactHandler

## Types

Companion
Link copied to clipboard
object Companion

## Properties

artifacts
Link copied to clipboard
val artifacts: ERROR CLASS: Symbol not found for ArtifactHandler
delegate
Link copied to clipboard
open override val delegate: ERROR CLASS: Symbol not found for ArtifactHandler

## Functions

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

Configures the artifacts.

operator fun ERROR CLASS: Symbol not found for Configuration.invoke(artifactNotation: Any): ERROR CLASS: Symbol not found for PublishArtifact
operator fun String.invoke(artifactNotation: Any): ERROR CLASS: Symbol not found for PublishArtifact
operator fun ERROR CLASS: Symbol not found for Configuration.invoke(artifactNotation: Any, configureAction: ERROR CLASS: Symbol not found for ConfigurablePublishArtifact.() -> Unit): ERROR CLASS: Symbol not found for PublishArtifact
operator fun String.invoke(artifactNotation: Any, configureAction: ERROR CLASS: Symbol not found for ConfigurablePublishArtifact.() -> Unit): ERROR CLASS: Symbol not found for PublishArtifact

Adds an artifact to the given configuration.