gradle
8.6

# artifacts

abstract fun artifacts(provider: Provider<out Iterable<out Any>>)(source)

Lazily adds a collection of outgoing artifacts to this configuration. These artifacts are included in all variants.

#### Parameters

provider

The provider of the artifacts to add.

abstract fun artifacts(provider: Provider<out Iterable<out Any>>, configureAction: Action<out Any>)(source)

Lazily adds a collection of outgoing artifacts to this configuration, configuring each artifact using the given action. These artifacts are included in all variants.

#### Parameters

provider

The provider of the artifacts to add.