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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -