[GRADLE-3490] Checkstyle should not output XML report when only the HTML report is enabled Created: 17/Jun/16 Updated: 28/Jul/16 Resolved: 28/Jul/16 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 2.10 |
Fix Version/s: | 3.1-rc-1 |
Type: | Bug | ||
Reporter: | Paul Merlin | Assignee: | Benjamin Muschko |
Resolution: | Fixed | Votes: | 0 |
Description |
tasks.withType(Checkstyle) { reports { xml.enabled false html.enabled true } } In that case, both XML and HTML reports are presents in the output directory: build/reports/checkstyle/main.html build/reports/checkstyle/main.xml Only the HTML report should be present in build/reports/checkstyle. See https://discuss.gradle.org/t/checkstyle-plugin-still-generates-xml-report-with-disabled-option |