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 bundle(alias: String, aliases: List<String>)(source)

Declares a bundle of dependencies. A bundle consists of a name for the bundle, and a list of aliases. The aliases must correspond to aliases defined via the library() methods.

Since

7.0

Parameters

alias

the alias of the bundle

aliases

the aliases of the dependencies included in the bundle

See also