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

reports

open fun reports(closure: Closure<Any>): FindBugsReports

Overrides Reporting.reports

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

 findbugsTask { reports { xml { destination "build/findbugs.xml" } } } 

Parameters

closure - The configuration

Return
The reports container

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

Overrides Reporting.reports

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

 findbugsTask { reports { xml { destination "build/findbugs.xml" } } } 

Parameters

configureAction - The configuration

Return
The reports container