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

sql - VB.NET Operand type clash: date is incompatible with int error -

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

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -