Gradle Multi Module project with single project name

plugins {
id ‘org.sonarqube’ version ‘4.0.0.2929’
}

I have the following structure to my multi module project

app
-build.gradle
library
-build.gradle
app1
-build.gradle
app2
-build.gradle

app1 and app2 both have a dependency on library like
dependencies {
implementation project(‘:library’)
}

I am struggling to setup sonarqube so it does analysis on each application individually but upload results to the same project name… is this even possible?

Hi,

Welcome to the community!

No, this isn’t possible. If you analyze them separately, then they’ll have different project IDs. You could name them all the same thing if you wanted, but it would be really confusing.

What you’re after is an Application, which starts in Developer Edition($)

 
HTH,
Ann