jshattu
(Jshattu)
February 17, 2022, 2:54pm
1
What are the definitve steps to support a gradle build with composite projects
Github
Github Action
Java/Kotlln
Only if the SonarCloud project is public, the URL
no errors, except for a gradle project with multiple composite projects, we only get the results of one of the projects
We can run indivual composite project, but the results overwrite each other for a single github project
Colin
(Colin)
March 2, 2022, 10:37am
5
Hey @jshattu
Is the goal that all the results will come under a single SonarCloud project, or that multiple SonarCloud projects will be targetted?
Effectively, are you looking for aggregate results or separate reports?
jshattu
(Jshattu)
March 2, 2022, 10:54am
6
would take either to be honest. Which ever is the quickest to setup.
What we have ifrom a github perspective is one project with mutiple compostie builds.
How would we setup SonarCloud to deal with this?
Colin
(Colin)
March 9, 2022, 5:01pm
7
@jshattu Honestly, I cannot find a good working example for a composite build. Can you put together an example (dummy) repo that mirrors how your project is configured, with instructions for a build that mirrors the behavior you witness (overwritten analysis results)?
jshattu
(Jshattu)
April 7, 2022, 3:50pm
8
when I get time, i’ll create a project in github to demonstrate. Let me know if there have been further updates on this.
daniel
(Daniel)
August 1, 2024, 12:26pm
9
hello! daniel from the future was just talking to daniel from the past (from 2022) here about composite gradle builds: Sonarqube Gradle plugin and Composite Builds - #7 by daniel
@jshattu you did not, by chance, create a project in github to demonstrate, did you?