HI,
I’m using sonarqube developer edition 7.6.
My project has module. In one module javascript files are not in “src”. java script files sources dir is different.
I tried to give module wise sonar.sources but looks like sonarqube is default taking sources as src.
I gave as example
Can Anyone help on this issue.
In my project one of the module has javascript files. I’m trying to gave sonar.sources property module wise but sonarqube is not taking any module properties.
Initially I gave property sonar.modules=module1,module2
and
module1.sonar.sources=jsfilesdir.
Not working.
AFAIR the SonarScanner for Gradle doesn’t allow you to redefine module lists (using sonar.modules). You should instead override the configuration of sonar.sources in the right build.gradle of the module you want to change.
That’s a different topic that deserves a different thread. The short answer is ‘no’, not as such. If you want a long answer, please do open a new thread.