gradle
8.3

# artifact

abstract fun artifact(notation: Any)

Adds an artifact to this variant.

See org.gradle.api.artifacts.dsl.ArtifactHandler for details of the supported notations.

abstract fun artifact(notation: Any, configureAction: Action<out Any>)

Adds an artifact to this variant, configuring it using the given action.

See org.gradle.api.artifacts.dsl.ArtifactHandler for details of the supported notations.