For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

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"
}

Return

The report container

Since

1.0

Parameters

closure

The configuration


Allow configuration of the report container by closure.

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

Return

The report container

Since

3.0

Parameters

configureAction

The configuration