invoke
Adds an artifact to the given configuration.
Return
The artifact.
Parameters
artifact
notation of the artifact to add.
See also
Artifact
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.
Return
The artifact.
Parameters
artifact
notation of the artifact to add.
configure
the action to execute to configure the artifact.
See also
Artifact
Configures the artifacts.