api / org.gradle.tooling.model / GradleProject / getProjectDirectory

getProjectDirectory

abstract fun getProjectDirectory(): File

Returns the project directory for this project.

Exceptions

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

Return
The project directory.

Since
2.4