api / org.gradle.api.reporting / Reporting / reports

reports

abstract fun reports(@DelegatesTo("T", 1) closure: Closure<Any>): T

Allow configuration of the report container by closure.

 reports { html { enabled false } xml.destination "build/reports/myReport.xml" } 

Parameters

closure - The configuration

Return
The report container

abstract fun reports(configureAction: Action<in T>): T

Allow configuration of the report container by closure.

 reports { html { enabled false } xml.destination "build/reports/myReport.xml" } 

Parameters

configureAction - The configuration

Return
The report container