# reports

open fun reports(closure: Closure): DependencyReportContainer(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

#### Since

1.0

#### Parameters

closure

The configuration

open fun reports(configureAction: Action<in DependencyReportContainer>): DependencyReportContainer(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

#### Since

3.0

#### Parameters

configureAction

The configuration

val reports: DependencyReportContainer(source)