Gradle - Toolchain

About

The toolchain is the sdk (Jdk) used to compile, … build the application.

Task

List detected/available toolchain

gradle javaToolchains
+ Options
     | Auto-detection:     Enabled
     | Auto-download:      Enabled

 + Eclipse Foundation JDK 11.0.12
     | Location:           C:\Users\gerardnico\.gradle\jdks\jdk-11.0.12+7
     | Language Version:   11
     | Vendor:             Eclipse Foundation
     | Is JDK:             true
     | Detected by:        Auto-provisioned by Gradle

 + Eclipse Foundation JDK 11.0.12
     | Location:           C:\jdk-11.0.12.7-hotspot
     | Language Version:   11
     | Vendor:             Eclipse Foundation
     | Is JDK:             true
     | Detected by:        Current JVM

 + Oracle JDK 1.8.0_231
     | Location:           C:\java\jdk1.8.0_231
     | Language Version:   8
     | Vendor:             Oracle
     | Is JDK:             true
     | Detected by:        Windows Registry

 + Oracle JDK 16.0.2
     | Location:           C:\Program Files\Java\jdk-16.0.2
     | Language Version:   16
     | Vendor:             Oracle
     | Is JDK:             true
     | Detected by:        Windows Registry

Documentation / Reference


Powered by ComboStrap