getRootDir

@Nullable
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.