[GRADLE-1755] Sonar plugin prints error messages for Java project with tests written in a different language (e.g. Groovy) Created: 19/Aug/11 Updated: 30/Apr/15 Resolved: 30/Apr/15
|Reporter:||Peter Niederwieser||Assignee:||Luke Daley|
If a project with Sonar language setting of "java" has tests written in another language (e.g. Groovy), Sonar can't correlate the test result XML with the test source code (because it only looks for Java source code), and an error message is printed (one for each non-Java test class). Other than that, analysis continues normally.
Depends on http://jira.codehaus.org/browse/SONAR-2322
|Comment by Luke Daley [ 30/Apr/15 ]|
The way forward is the "sonar-runner" plugin (https://gradle.org/docs/current/userguide/sonar_runner_plugin.html) which supersedes the "sonar" plugin.
If your issue still persists with the "sonar-runner" plugin, please raise a new issue via https://discuss.gradle.org/c/bugs.