add
Adds an artifact to the given configuration.
Return
The artifact.
Parameters
configuration
The name of the configuration.
artifact
The artifact notation, in one of the notations described above.
abstract fun add(configurationName: String, artifactNotation: Any, @DelegatesTo(value = ConfigurablePublishArtifact::class
Adds an artifact to the given configuration.
Return
The artifact.
Parameters
configuration
The name of the configuration.
artifact
The artifact notation, in one of the notations described above.
configure
The closure to execute to configure the artifact.
abstract fun add(configurationName: String, artifactNotation: Any, configureAction: Action<in ConfigurablePublishArtifact>): PublishArtifact
Adds an artifact to the given configuration.
Return
The artifact.
Since
3.3.
Parameters
configuration
The name of the configuration.
artifact
The artifact notation, in one of the notations described above.
configure
The action to execute to configure the artifact.