api / org.gradle.tooling.model.eclipse / EclipseJavaSourceSettings / 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. Never returns null.

Since
2.11