From a14b7b08e97fce4bd39c06da7b5235dfaf2fb4e6 Mon Sep 17 00:00:00 2001 From: Federico Iosue Date: Tue, 12 Aug 2025 22:01:44 +0200 Subject: [PATCH] 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 --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index fe3a7e56..771ececd 100644 --- a/build.gradle +++ b/build.gradle @@ -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 } } \ No newline at end of file