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