Sonar plugin with mixed Java/Scala project


(Rob Black) #1

Will the Gradle SONAR plugin work for projects with a mix of Java and Scala code?


(Peter Niederwieser) #2

Sonar only supports one language per project, so you’ll have to make a call. From what I understand, analyzing separate languages for separate subprojects doesn’t currently work either (see http://jira.codehaus.org/browse/SONAR-2602), but I may be wrong on this.

http://sonar.15.n6.nabble.com/Use-of-Multiple-language-plugins-in-a-project-td3209196.html discusses a workaround which might be applicable to Gradle as well.