invoke
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: 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
artifactNotation
notation of the artifact to add.
configureAction
the action to execute to configure the artifact.
See also
ArtifactHandler.add
Configures the artifacts.