api / org.gradle.tooling.model.idea / IdeaJavaLanguageSettings / getJdk

getJdk

abstract fun getJdk(): InstalledJdk

Returns the JDK used for building.

Exceptions

UnsupportedMethodException - For provider Gradle versions older than 2.11, where this method is not supported.

Return
The JDK, or null if this value should be inherited.