api / org.gradle.api.plugins.quality / Checkstyle / reports

reports

open fun reports(@DelegatesTo(CheckstyleReports, 1) closure: Closure<Any>): CheckstyleReports

Overrides Reporting.reports

Configures the reports to be generated by this task. The contained reports can be configured by name and closures. Example:

 checkstyleTask { reports { html { destination "build/codenarc.html" } } } 

Parameters

closure - The configuration

Return
The reports container

open fun reports(configureAction: Action<in CheckstyleReports>): CheckstyleReports

Overrides Reporting.reports

Configures the reports to be generated by this task. The contained reports can be configured by name and closures. Example:

 checkstyleTask { reports { html { destination "build/codenarc.html" } } } 

Parameters

configureAction - The configuration

Since
3.0

Return
The reports container