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",
)
}
}