From 97900e6e755ae97dc8754a8010c35ace8fbfa207 Mon Sep 17 00:00:00 2001 From: Kirill Kamakin Date: Sun, 5 Jun 2022 15:50:27 +0200 Subject: [PATCH] Publish code coverage to sonarcloud --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 59ce817..5f430b9 100644 --- a/build.gradle +++ b/build.gradle @@ -48,5 +48,10 @@ sonarqube { property "sonar.organization", "kirmanak" property "sonar.host.url", "https://sonarcloud.io" property "sonar.androidLint.reportPaths", "build/reports/lint-results-debug.xml" + property "sonar.coverage.jacoco.xmlReportPaths", "build/reports/jacoco.xml" } +} + +rootCoverage { + generateXml true } \ No newline at end of file