How to setup a single Android Lint report in a multi-module Android project

In our project, we recently switched from generating an Android Lint report for each gradle module to generating a single report for the :app module using the recommended solution from the Lint documentation. Is there a way to configure a single merged report in a multi-module project using the Sonar Gradle Plugin? The only way to make it work is by specifying the :app report for each subproject, but it will generate a lot of warnings of this type:

No input file found for file_path. No android lint issues will be imported on this file.

subprojects {
    sonar {
        // other properties 
        property(
          "sonar.androidLint.reportPaths",
          "${rootProject.projectDir}/app/build/reports/lint-results-release.xml",
        )
     }
}

Hi,

Welcome to the community!

The path to the report should be relative to where analysis is kicked off from. So presumably that should be app/build/reports/lint-results-release.xml.

 
HTH,
Ann