# reports

open fun reports(closure: Closure): JacocoReportsContainer(source)

Configures the reports to be generated by this task.

open fun reports(configureAction: Action<in JacocoReportsContainer>): JacocoReportsContainer(source)

Allow configuration of the report container by closure.

    reports {
      html {
        required false
      }
      xml.outputLocation = "build/reports/myReport.xml"
    }

Content copied to clipboard

#### Return

The report container

#### Parameters

configureAction

The configuration

val reports: JacocoReportsContainer(source)