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.

module

abstract fun module(moduleIdOrName: String): ModuleDependencySpecBuilder(source)

Defines a new module dependency, based on a module id or a simple name. The returned dependency can be mutated.

Return

a mutable module dependency, added to this container

Since

2.10

Parameters

moduleIdOrName

of the module