After updating the Sonar Gradle plugin from 6.2.0.5505 to 7.2.2.6593 we see a lot of empty sonar-resolver folders in our gradle build directories.
It looks like the SonarQubePlugin:registerAndConfigureResolverTasks method creates this empty folders.
We using Gradle 8.14.1.
Hello @pschwarzer-tt, since version 7 of the scanner, it is expected that a sonar-resolver folder is created in each subproject’s build directory. We collect information about sources and classpaths in a file inside these folders.
If the subprojects contain sources, there should be a file there. We are however aware of a bug in version 7.2 of the scanner which causes some sources to be lost. We recommend you to try using version 7.1 and see if this fixes the issue.
Hello, thanks for the response. I’ll tested version 7.1.0.6387 today, but still get the empty sonar-resolver folders. The folder is created on a gradle refresh within IntelliJ. So if i do not execute any Sonar task, the folder still is present.