javaVersion

The configured JVM toolchain JavaVersion.

This property represents the configured JVM toolchain JavaVersion used for the task. If the toolchain is not explicitly set, it defaults to the version of the JDK that Gradle is currently running.