[GRADLE-1887] checkstyle*.ignoreFailures = true Created: 03/Nov/11  Updated: 04/Jan/13  Resolved: 02/Feb/12

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-5
Fix Version/s: 1.0-milestone-8

Type: Improvement
Reporter: Chris Jones Assignee: Unassigned
Resolution: Fixed Votes: 1


 Description   

It would be nice to have a way to set "ignoreFailures = true" for all checkstyle tasks defined by the code-quality plugin.



 Comments   
Comment by Adam Murdoch [ 03/Nov/11 ]

you can do something like:

tasks.withType(Checkstyle)

{ ignoreFailures = true }
Comment by Chris Jones [ 03/Nov/11 ]

Thanks for that; I'll use it. Would it be worth putting in top-level property in the code-quality plugin to make this more obvious?

Comment by Adam Murdoch [ 03/Nov/11 ]

Yes, probably.

Comment by Mike M. [ 10/Nov/11 ]

Seems to me like it might even be worth a convention property?

Generated at Wed Jun 30 12:07:03 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.