xml

abstract fun xml(config: Action<KoverXmlTaskConfig>)(source)

Configure XML report for current report variant.

xml {
    // Generate an XML report when running the `check` task
    onCheck = true

    // XML report title (the location depends on the library)
    title = "Custom XML report title"

    // Specify file to generate XML report
    xmlFile = layout.buildDirectory.file("my-xml-report.xml")
}

Instance to configuring of XML report for current report variant.

See details in xml.