public class CoberturaReportsImpl extends TaskReportContainer
Default implementation of CoberturaReports. For some reason the Groovy compiler cannot
handle the covariant return types of some overridden methods in NamedDomainObjectSet. The
Java compiler has no problems handling it, so this implementation is in Java. Note that all
subclasses of TaskReportContainer in the Gradle distribution (e.g. PmdReportsImpl
and DefaultBuildDashboardReports are Java classes.
| Type | Name and description |
|---|---|
DirectoryReport |
getHtml()Get the Cobertura HTML report directory. |
SingleFileReport |
getXml()Get the XML report file. |
Get the Cobertura HTML report directory. The default value is a directory with the same name
as the context of the owning CoberturaReportsTask. This directory resides in a
directory named "cobertura" in the project's report directory.
Get the XML report file. Default is a file called "coverage.xml" in a directory
with the same name as the context of the owning CoberturaReportsTask. This directory
resides in a directory named "cobertura" in the project's report directory.