For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

bundle

abstract fun <D : Dependency?> bundle(bundle: Iterable<out D>)(source)
abstract fun <D : Dependency?> bundle(bundle: Provider<out Iterable<out D>>)(source)
abstract fun <D : Dependency?> bundle(bundle: ProviderConvertible<out Iterable<out D>>)(source)

Add a bundle.

Since

8.6

Parameters

bundle

the bundle to add


abstract fun <D : Dependency?> bundle(bundle: Iterable<out D>, configuration: Action<in D>)(source)
abstract fun <D : Dependency?> bundle(bundle: Provider<out Iterable<out D>>, configuration: Action<in D>)(source)
abstract fun <D : Dependency?> bundle(bundle: ProviderConvertible<out Iterable<out D>>, configuration: Action<in D>)(source)

Add a bundle and configure them.

Since

8.6

Parameters

bundle

the bundle to add

configuration

an action to configure each dependency in the bundle