invoke
Adds an artifact to the given configuration.
Return
The artifact.
Parameters
artifact Notation
notation of the artifact to add.
See also
Artifact Handler. add
operator fun String.invoke(artifactNotation: Any, configureAction: ConfigurablePublishArtifact.() -> Unit): PublishArtifact(source)
operator fun Configuration.invoke(artifactNotation: Any, configureAction: ConfigurablePublishArtifact.() -> Unit): PublishArtifact(source)
Adds an artifact to the given configuration.
Return
The artifact.
Parameters
artifact Notation
notation of the artifact to add.
configure Action
the action to execute to configure the artifact.
See also
Artifact Handler. add
Configures the artifacts.