SonarSource/sonar-scanning-examples

I think that is not the complete example for multi-modules.

Closed this issue · 1 comments

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.

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.