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.

repository

abstract fun repository(name: String, configureAction: Action<in JavaToolchainRepository>)(source)

Utility method for creating a named JavaToolchainRepository based on a configuration block.

Since

7.6