api / org.gradle.api.invocation / Gradle / getGradleUserHomeDir

getGradleUserHomeDir

abstract fun getGradleUserHomeDir(): File

Returns the Gradle user home directory. This directory is used to cache downloaded resources, compiled build scripts and so on.

Return
The user home directory. Never returns null.