'Is it possible to set two sonarqube gradle tasks in the same project?

I'm struggling for some days with the creation of another sonarqube task that has different settings from the task that I'm currently using in my java project. I've tried creating a new task (in my build.gradle file) but I would need the plugin ability to locate the libraries folder and as far as I tried I can't retrieve system arguments.

Are there any of you that have done this? Is it possible?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source