Table of Contents
API Documentation: | UpdateDaemonJvm |
---|
Note: This class is incubating and may change in a future version of Gradle.
Generates or updates the Gradle Daemon JVM criteria. This controls the version of the JVM required to run the Gradle Daemon.
Property | Description |
jvmVendor | Deprecated Incubating Deprecated and a no-op |
jvmVersion | Deprecated Incubating Deprecated |
languageVersion | Incubating The version of the JVM required to run the Gradle Daemon. |
toolchainDownloadUrls | Incubating The download URLs for the toolchains for the given platforms. |
toolchainPlatforms | Incubating The set of |
vendor | Incubating Configures the vendor spec for the daemon toolchain properties generation. |
Note: This property is deprecated and will be removed in the next major version of Gradle.
Note: This property is incubating and may change in a future version of Gradle.
Deprecated and a no-op
- Default:
- defaults to allowing any JVM vendor
Property
<JavaLanguageVersion
>
jvmVersion
Property
<JavaLanguageVersion
>Note: This property is deprecated and will be removed in the next major version of Gradle.
Note: This property is incubating and may change in a future version of Gradle.
Deprecated
- Default:
- defaults to current JVM version
Property
<JavaLanguageVersion
>
languageVersion
Property
<JavaLanguageVersion
>Note: This property is incubating and may change in a future version of Gradle.
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
>Note: This property is incubating and may change in a future version of Gradle.
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.getJvmVersion()
and UpdateDaemonJvm.getJvmVendor()
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
>Note: This property is incubating and may change in a future version of Gradle.
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
>Note: This property is incubating and may change in a future version of Gradle.
Configures the vendor spec for the daemon toolchain properties generation.
- Default:
- defaults to allowing any JVM vendor