[GRADLE-1656] The Checkstyle plugin doesn't support ommiting the console output Created: 04/Jul/11 Updated: 04/Jan/13 Resolved: 27/Nov/12 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-milestone-3 |
Fix Version/s: | 1.4-rc-1 |
Type: | Improvement | ||
Reporter: | Andras Milassin | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 3 |
Description |
The Gradle Checkstyle plugin by default creates an XML result file and also dumps everything in plain text to the console output (ant task: formatter: plain). This is not desirable as some projects produce several thousand lines of issues thus cluttering the regular Gradle console output. The plugin should have a configuration to switch the console output off. The issue was also mentioned on the mailing list: http://gradle.1045684.n5.nabble.com/Checkstyle-issues-td3402034.html |
Comments |
Comment by James Bengeyfield [ 10/Oct/11 ] |
Fix submitted via pull request. Adds usePlainFormatter option which defaults to true but if set to false, suppresses the console output whilst keeping the xml output. e.g.
checkstyleMain {
usePlainFormatter = false
}
will not show the violations on the console. |