public interface CpdReports
extends org.gradle.api.reporting.ReportContainer<org.gradle.api.reporting.SingleFileReport>
Cpd task.
One of
The reporting aspects of a Cpd task can be configured as such:
cpdCheck {
reports {
csv.required = false
text {
required = true
outputLocation = file("${buildDir}/cpd.txt"
}
}
}
Cpd| Modifier and Type | Method and Description |
|---|---|
void |
csv(org.gradle.api.Action<CpdCsvFileReport> action)
Configures the csv report.
|
CpdCsvFileReport |
getCsv() |
CpdTextFileReport |
getText() |
org.gradle.api.reporting.SingleFileReport |
getVs() |
CpdXmlFileReport |
getXml() |
void |
text(org.gradle.api.Action<CpdTextFileReport> action)
Configures the text report.
|
void |
vs(org.gradle.api.Action<org.gradle.api.reporting.SingleFileReport> action)
Configures the vs report.
|
void |
xml(org.gradle.api.Action<CpdXmlFileReport> action)
Configures the xml report.
|
getAsMap, getEnabled, getEnabledReports, getNamer, getNames, getRules, isEmptyfindAll, matching, matching, named, withTypeadd, addAll, addRule, addRule, addRule, findByName, getAt, getByName, getByName, getByName, getCollectionSchema, named, named, named, namedaddAllLater, addLater, all, all, configureEach, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withTypeCpdCsvFileReport getCsv()
CpdTextFileReport getText()
org.gradle.api.reporting.SingleFileReport getVs()
CpdXmlFileReport getXml()
void csv(org.gradle.api.Action<CpdCsvFileReport> action)
action - The Configuration closure/action.void text(org.gradle.api.Action<CpdTextFileReport> action)
action - The Configuration closure/action.void vs(org.gradle.api.Action<org.gradle.api.reporting.SingleFileReport> action)
action - The Configuration closure/action.void xml(org.gradle.api.Action<CpdXmlFileReport> action)
action - The Configuration closure/action.