public class CpdReportsImpl extends TaskReportContainer
Default implementation of CpdReports. 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. FindBugsReportsImpl and
DefaultTestTaskReports are Java classes.
| Type | Name and description |
|---|---|
TransformingReport |
getHtml()Get the HTML report. |
FormatChoiceReport |
getPrimary()Get the primary report. |
Get the HTML report. Default is a transforming report located next to the primary report and using the built-in CPD XSL.
Get the primary report. Default is a file called "cpd.<ext>" where
"<ext>" is the value of the report's format property. The default file
is located in a directory called "cpd" in the project's report directory or, if no
project report directory is defined, in a subdirectory called "cpd" in the
project's build directory.