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.

repositories

fun Project.repositories(configuration: RepositoryHandler.() -> Unit)(source)

Configures the repositories for this project.

Executes the given configuration block against the RepositoryHandler for this project.

Since

4.1

Parameters

configuration

the configuration block.


Configures the repositories for the script dependencies.

Since

4.1