Top-level DSL function for creating Artifact.
A new Artifact instance.
The lambda to configure the artifact.
Java-friendly top-level DSL function for creating Artifact.
The consumer to configure the artifact.