Sonarqube 7.2, Gradle Plugin 2.6.2, Android Studio 3.1.3, Gradle 4.6, Multi-Project configuration
In a Multi-Proyect gradle configuration I have some libs organized by directories. Lets say;
In order to make sonar work I have to change every moduleKey property to replace their “/” into “:” so that for example Lib2 subproject will set property “sonar.moduleKey” from its default “:LibsDirectory/categoryDirectory1:Lib2” to “:LibsDirectory:categoryDirectory1:Lib2” as slashes ar not allowed for moduleKey
Given this, my proyect buidls successfully and sonar can analyze it but in SonarQube Web, inside “Code” section only those modules directly hanging from its first level directory appears inside its directory (i.e. Lib1 inside LibsDirectory) but all others hangs from root.
In conclusion I’ll see the following:
So, How can I change a module Path for a module so that it only changes on sonarQubeUI and doesn’t break sonar analysing?