# invoke

operator fun String.invoke(artifactNotation: Any): ERROR CLASS: Symbol not found for PublishArtifact(source)
operator fun ERROR CLASS: Symbol not found for Configuration.invoke(artifactNotation: Any): ERROR CLASS: Symbol not found for PublishArtifact(source)

Adds an artifact to the given configuration.

#### Return

The artifact.

#### Parameters

artifactNotation

notation of the artifact to add.

#### See also

ArtifactHandler.add

operator fun String.invoke(artifactNotation: Any, configureAction: ERROR CLASS: Symbol not found for ConfigurablePublishArtifact.() -> Unit): ERROR CLASS: Symbol not found for PublishArtifact(source)
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(source)

Adds an artifact to the given configuration.

#### Return

The artifact.

#### Parameters

artifactNotation

notation of the artifact to add.

configureAction

the action to execute to configure the artifact.

#### See also

ArtifactHandler.add

inline operator fun invoke(configuration: ArtifactHandlerScope.() -> Unit)(source)

Configures the artifacts.