api / org.gradle / TaskExecutionRequest / getRootDir

getRootDir

abstract fun getRootDir(): File

The root folder of the build that this task was defined in.

Return
the root project folder or null if the information is not available.

Since
3.3