In a GitHub repository, I have a multi-module Gradle project. For this repository, I have a single Sonar project. Each module can be built on its own. I configured my workflow on a pull request to only build the projects that actually have changes.
When I have changes in two submodules, two independent builds are triggered, which run in parallel and therefore save time. Now I have the problem that the second build to finish overrides the SonarQube analysis of the first build.
Is it possible to configure the Gradle SonarQube plugin in such a way that multiple independent builds contribute to one single SonarQube analysis result?