[GRADLE-1294] Add XML output report option to CodeNarc task Created: 07/Jan/11  Updated: 04/Jan/13  Resolved: 02/Feb/11

Status: Resolved
Project: Gradle
Affects Version/s: 0.9.1
Fix Version/s: 1.0-milestone-1

Type: Improvement
Reporter: Hubert Klein Ikkink Assignee: Peter Niederwieser
Resolution: Fixed Votes: 2


The current CodeNarc task in the code-quality plugin outputs only a HTML report. The report type is set to 'html' in the code. It would be nice if this can be configurable, so I can also set the report type to 'xml'. Maybe 'reportFileType' as convention property.

Comment by René Gröschke (Inactive) [ 10/Jan/11 ]

I've send a pull request with a fix from https://github.com/breskeby/gradle/tree/GRADLE-1294
The fix contains an additional convention property "codeNarcReportsFormat" to customize the report format.


Comment by Peter Niederwieser [ 02/Feb/11 ]

Thanks for the patch.

Generated at Wed Jun 30 11:51:54 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.