Suppress test execution with Gradle plugin

Hi @David_Schneider,

I know this is a bit late, but if you are still using SonarScanner for Gradle 2.6.0, try this: ./gradlew clean build sonarqube -x test where the -x will skip the test dependency.

References for the workaround:

But…

In SONARGRADL-59, this issue is fixed in SonarScanner for Gradle 3.0. So try upgrading to 3.0 and testing it. More details with the scanner here.

Joe