api / org.gradle / StartParameter / setProjectDir

setProjectDir

open fun setProjectDir(projectDir: File): Unit

Sets the project directory to use to select the default project. Use null to use the default criteria for selecting the default project.

Parameters

projectDir - The project directory. May be null.