api / org.gradle.api.reporting / ReportingExtension / setBaseDir

setBaseDir

open fun setBaseDir(baseDir: File): Unit

Sets the base directory to use for all reports

Parameters

baseDir - The base directory to use for all reports

Since
4.0

open fun setBaseDir(baseDir: Any): Unit

Sets the base directory to use for all reports

The value will be converted to a File on demand via Project#file(Object).

Parameters

baseDir - The base directory to use for all reports