api / org.gradle.api.tasks.diagnostics / AbstractReportTask / getOutputFile

getOutputFile

@Optional @OutputFile open fun getOutputFile(): File

Returns the file which the report will be written to. When set to null, the report is written to System.out. Defaults to null.

Return
The output file. May be null.