jvmToolchain
Configures Java toolchain both for Kotlin JVM and Java tasks in the project.
Parameters
action
action to configure JavaToolchainSpec
Configures Java toolchain both for Kotlin JVM and Java tasks in the project.
Parameters
jdkVersion
JDK version as number. For example, 17 for Java 17.