api / org.gradle.api.reporting / Report / getDestination

getDestination

@Internal("Implementations need to add the correct annotation, @OutputDirectory or @OutputFile") abstract fun getDestination(): File

The location on the filesystem of the report when it is generated.

Depending on the output type of the report, this may point to a file or a directory.

Subtypes may implement setters for the destination.

Return
The location on the filesystem of the report when it is generated