I think that is not the complete example for multi-modules.
Closed this issue · 1 comments
xuri422 commented
In gradle-multimodule example:
There is only a 'build.gradle' file in root directory. In actually project, there is a 'build.gradle' file in each module,
but in the examples, there is no 'build.gradle' file in module-one/module-two.
so, how can we scan the actually project in multi-modules.
joe-tingsanchali-sonarsource commented
Hi @xuri422 , not all multi-module projects have their own build.gradle.
For subprojects ("modules") of a multi-project/module Gradle project, see here: https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner-for-gradle/#analyzing-multi-project-builds.