On 17/02/2012, at 9:43 AM, Russel Winder wrote:

> Peter,
> 
> The FindBugs JDepend and PMD plugins all offer check which seems to mean
> none of these and Checkstyles can goexist.  Maven allows them all to be
> present for a project, Gradle allows them all to be named but only the
> first can be actioned?
> 
> Unless I missed something…

Do you mean the task “check”? If so, it's a lifecycle task that is added by 
java-base plugin. It has no actions itself, but is a meeting point for 
verification tasks.

So the idea is that ./gradlew check executes all of the different kinds of 
checks in your project. The code quality plugins make their tasks dependencies 
of this task.

See: 
https://github.com/gradle/gradle/blob/master/subprojects/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/AbstractCodeQualityPlugin.groovy#L121

-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to