'How can i let sonarqube see my unit tests (java, gradle)

enter image description here

I think i need to add something to either my .yml, sonarqube properties or build.gradle file but i have no clue where to start. Does anyone know how i can make my unit tests appear so i dont have 0% coverage anymore?



Sources

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

Source: Stack Overflow

Solution Source