I’ve had the same issue, but you can change the project name in your Gradle file.
Just add the property sonar.projectName
to the sonarqube
section with your required project name and it will start showing up with that name instead of app
.
For example:
sonarqube {
properties {
property "sonar.projectKey", "sonar_projectKey"
property "sonar.organization", "organisation"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.projectName", "android-mobile-app"
}
}
Tip: You can also set this so a real project name, like "My SonarCloud App"
if desired.