consumable
Registers a new ConsumableConfiguration with an immutable role. Consumable configurations are meant to act as a variant in the context of Dependency Management and Publishing.
This operation is lazy, the returned element is NOT realized. A lazy wrapper is returned, allowing to continue to use it with other lazy APIs.
Return
A provider which creates a new consumable configuration.
Since
8.4
Parameters
The name of the configuration to register.
Throws
If a configuration with the given name
already exists in this container.
Registers a ConsumableConfiguration via consumable and then configures it with the provided action.
This operation is lazy, the returned element is NOT realized. A lazy wrapper is returned, allowing to continue to use it with other lazy APIs.
Return
A provider which creates a new consumable configuration.
Since
8.4
Parameters
The name of the configuration to register.
The action to apply to the configuration.
Throws
If a configuration with the given name
already exists in this container.