@Incubating
public interface MavenArtifactSet
extends DomainObjectSet
A Collection of MavenArtifacts to be included in a MavenPublication.
Being a DomainObjectSet, a MavenArtifactSet provides convenient methods for querying, filtering, and applying actions to the set of MavenArtifacts.
Creates and adds a MavenArtifact to the set, which is configured by the associated action.
The semantics of this method are the same as MavenPublication#artifact(Object, Action)#artifact(Object, Action).
Parameters:
source - The source of the artifact.
config - An action or closure to configure the values of the constructed MavenArtifact.