Adding multiple sonar java binaries path

Hi there,

I have been trying to analyze multiple folders inside my root directory on github. Suppose there are three folders which I want to analyze and these all contain java code and have separate build classfiles path:

folder1/build/intermediates
folder2/build/intermediates
folder3/build/intermediates

For that I am setting sonar.java.binaries properties as :
sonar.java.properties=folder1/build/intermediates,folder2/build/intermediates,folder3/build/intermediates

During analysis, the first binaries destination isn’t reported as wrong but after that , folder2/binaries/intermediates is reported being not found…

What am I doing wrong here?
Please suggest .

hello @Play9win,

can you please post complete log? You mention setting sonar.java.properties, such property doesn’t exists, but perhaps it is just a typo in the post.

Also, is your Java project based on gradle or maven? If that’s the case, it is preferable to use scanner dedicated to the build tool, it will set the properties automatically.