Martin Todorov
Martin Todorov
I'd like thank both of you again! @BalmungSan, thanks for your help with the examples (and in general -- I've seen your work on this project and it's awesome!). Thank...
I did. It works flawlessly that way! We have a generic tool which wraps aroung the `sonar-scanner`. My impression (please confirm, or correct me) is that the `sonar-scanner` is now...
It would be great, if you could provide a `sonar-project.properties` with a couple of lines of instructions on how to execute it with the `sonar-scanner`.
This is what I have: ``` sonar.projectName=sonar-scala-gradle-multi-module sonar.projectKey=examples:sonar-scala-gradle-multi-module sonar.projectVersion=1.0-SNAPSHOT sonar.sources=src/main/scala,module1/src/main/scala,module2/src/main/scala sonar.tests=src/test/scala,module1/src/test/scala,module2/src/test/scala sonar.sourceEncoding=UTF-8 sonar.scala.version=2.12 sonar.scala.scoverage.reportPath=build/reports/scoverage/scoverage.xml,module1/build/reports/scoverage/scoverage.xml,module2/build/reports/scoverage/scoverage.xml sonar.scala.scapegoat.reportPath=build/reports/scapegoat/scapegoat.xml,module1/build/reports/scapegoat/scapegoat.xml,module2/build/reports/scapegoat/scapegoat.xml ``` I'm seeing less reported issues (that when using the Gradle example with the Sonarqube...
I'm assuming there must be a better way than to have to list the directories for the modules one by one, but, so far, I haven't found the proper combination.
Okay, thanks! But... what happens, if you have tons of modules? Do you have to list them all one by one?
Brilliant! This works!  As to my original questions: * Could you please confirm what is best to use when publishing to Sonarqube (the Gradle plugin, or the `sonar-scanner`; the...
Thank you very much for this detailed explanation! It really helps to understand the whole Sonar mess (which is not well documented and typically has documentation that is not up-to-date)....
Thanks for providing the example! All the code is building using Gradle. I will try to adapt one of our projects and report back.
+1 For the Windows support, please! We're hitting the same issue with the code coverage under Windows.