Must-share information (formatted with Markdown):
which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
SonarQube Gradle plugin: v3.3
what are you trying to achieve
sonarqubegradle task run for a nested android module, which lives under another android module in the project repository structure.
Due to the way our CI is setup. We need to run a separate workflow for all our different android modules with tests and then push up the coverage data to sonarcloud using the gradle task from the individual workflows.
The regular android dependency modules work as expected. But this one nested dependency module does not list the
sonarqubetask to be available.
what have you tried so far to achieve this
allProjectsin the root gradle file(which we do not want to do as it will apply it for all modules, which is unnecessary for us).
- Changing module name from
:onboardingin the dependencies list in the parent android module.
- applying plugin with
Also, there are no warnings, which might indicate we’re missing something. But I am out of ideas with no errors and why it works on a dependency module at the same level but not on a nested module.
Thanks for the help.