build: Decoupled SonarQube task from full code build

The 'sonar' task depends on compile tasks. This behavior is now deprecated and will be removed in version 5.x. To avoid implicit compilation, set property 'sonar.gradle.skipCompile' to 'true' and make sure your project is compiled, before analysis has started
This commit is contained in:
Federico Iosue
2025-08-12 22:01:44 +02:00
parent 03247e0057
commit a14b7b08e9

View File

@@ -55,5 +55,6 @@ sonarqube {
sonar.coverage.jacoco.xmlReportPaths = "**/build/reports/coverage/**/debug/report.xml"
sonar.exclusions = '**/src/main/assets/**/*.*'
sonar.test.exclusions = '**/src/test/**/*.*,**/src/androidTest/**/*.*'
sonar.gradle.skipCompile = true
}
}