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.

register

abstract fun <T : JavaToolchainResolver?> register(implementationType: Class<T>)(source)

Registers a JavaToolchainResolver implementation. The class name should be properly name-spaced, to avoid collisions (if another resolver class with the same fully qualified name is registered, a GradleException will be thrown).

Since

7.6