Gradle Toolchains
A feature of the Gradle build tool that allows the required Java version to be declared, automatically discovering or downloading a matching JDK and thereby decoupling the build environment.
Timeline (last 90 days)
Gradle Toolchains is a mechanism introduced in Gradle 6.7 that allows build scripts to declare the required Java language version, with Gradle automatically discovering locally installed JDKs or downloading a matching version on demand.
When fixing Java4Shell, updating the JDK version, updating the container base image, and adjusting the build toolchain configuration should be included in the same batch of changes to avoid an inconsistent state where the runtime is fixed but the build environment still has risks.
All Facts (2)
Gradle Toolchains is a mechanism introduced in Gradle 6.7 that allows build scripts to declare the required Java language version, with Gradle automatically discovering locally installed JDKs or downloading a matching version on demand.
50%UnverifiedWhen fixing Java4Shell, updating the JDK version, updating the container base image, and adjusting the build toolchain configuration should be included in the same batch of changes to avoid an inconsistent state where the runtime is fixed but the build environment still has risks.
50%