Groovy and Sonar


(Olivier Gourment) #1

I’m developing a groovy project and would also like to use sonar. How to tell Sonar to use the sonar-groovy-way profile and not the sonar-way (java) profile?


(Peter Niederwieser) #2

Try: sonar.project.language = “groovy”

See the Sonar chapter in the user guide, and the Groovydoc (e.g. http://www.gradle.org/current/docs/groovydoc/org/gradle/api/plugins/sonar/model/SonarProject.html).


(excentric) #3

sonar.project.language = “grvy”