Package org.gradle.jvm.toolchain
Interface JvmToolchainManagement
-
@Incubating public interface JvmToolchainManagement
Dynamic extension added toToolchainManagement
at runtime, by thejvm-toolchain-management
plugin. Provides ajvm
block to configure the ordered list of Java toolchain repositories to use for auto-provisioning.- Since:
- 7.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JavaToolchainRepositoryHandler
getJavaRepositories()
Returns the handler for the ordered list of configuredJavaToolchainRepository
implementations.void
javaRepositories(Action<? super JavaToolchainRepositoryHandler> configureAction)
NamedDomainObjectList
based handler for configuring an ordered collection of Java toolchain repositories:
-
-
-
Method Detail
-
getJavaRepositories
JavaToolchainRepositoryHandler getJavaRepositories()
Returns the handler for the ordered list of configuredJavaToolchainRepository
implementations.
-
javaRepositories
void javaRepositories(Action<? super JavaToolchainRepositoryHandler> configureAction)
NamedDomainObjectList
based handler for configuring an ordered collection of Java toolchain repositories:toolchainManagement { jvm { javaRepositories { repository('registry1') { resolverClass = com.example.CustomToolchainRegistry1 credentials { username "user" password "password" } authentication { digest(BasicAuthentication) } } repository('registry2') { resolverClass = com.example.CustomToolchainRegistry2 } } }
-
-