Table of Contents
API Documentation: | UpdateDaemonJvm |
---|
Generates or updates the Gradle Daemon JVM criteria. This controls the version of the JVM required to run the Gradle Daemon.
Property | Description |
languageVersion | The version of the JVM required to run the Gradle Daemon. |
toolchainDownloadUrls | The download URLs for the toolchains for the given platforms. |
toolchainPlatforms | The set of |
vendor | Configures the vendor spec for the daemon toolchain properties generation. |
Property
<JavaLanguageVersion
>
languageVersion
Property
<JavaLanguageVersion
>The version of the JVM required to run the Gradle Daemon.
By convention, for the task created on the root project, Gradle will use the JVM version of the current JVM.
- Default:
- defaults to current JVM version
MapProperty
<BuildPlatform
, URI
>
toolchainDownloadUrls
MapProperty
<BuildPlatform
, URI
>The download URLs for the toolchains for the given platforms.
By convention, for the task created on the root project, Gradle will combine the UpdateDaemonJvm.getToolchainPlatforms()
, UpdateDaemonJvm.getLanguageVersion()
and UpdateDaemonJvm.getVendor()
to resolve download URLs using the configured JavaToolchainRepository
.
If the convention applies and no toolchain repositories are defined, an exception will be thrown.
- Default:
- defaults to using the toolchain repositories to resolve the platforms configured in
toolchainPlatforms
SetProperty
<BuildPlatform
>
toolchainPlatforms
SetProperty
<BuildPlatform
>The set of BuildPlatform
for which download links should be generated.
By convention, for the task created on the root project, Gradle sources those from the combination of all supported OperatingSystem
and the following architectures: Architecture.X86_64
and Architecture.AARCH64
.
- Default:
- defaults to the combination of
aarch64
andx86_64
architectures with the following operating systems:Linux
,MacOS
,Windows
,FreeBSD
,Solaris
andUnix
Property
<JvmVendorSpec
>
vendor
Property
<JvmVendorSpec
>Configures the vendor spec for the daemon toolchain properties generation.
- Default:
- defaults to allowing any JVM vendor