How to change the group of the tasks added by third party plugins in Gradle? -


i added few plugins pmd, checkstyle , findbugs in gradle project. come under group others.

is possible create separate groups them?

e.g. pmd group tasks defined in pmd plugin etc.

it possible configure task's group property. done so:

tasks.withtype(pmd).each {task -> configure(task) {     group = "pmd" }} 

this snippet should added script's root. gets tasks pmd type , set them new pmd group.


Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -