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).