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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -