From 285fd61fb893aa27cede42fb4d16c8c9f348d7d5 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Mon, 26 Apr 2021 15:12:35 +0000 Subject: [PATCH] Update to SonarQube plugin 3.1.1 and try to set version git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889206 13f79535-47bb-0310-9956-ffa450edef68 --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index f0382936b6..cfcca5590b 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ buildscript { } dependencies { - classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.0" + classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.1.1" } } @@ -215,6 +215,9 @@ subprojects { // the Gradle run will report an invalid directory for 'ooxml-schema', but it seems to still work fine property "sonar.coverage.jacoco.xmlReportPaths", "$projectDir/build/reports/jacoco/test/jacocoTestReport.xml" + + // somehow the version was not use properly + property "sonar.projectVersion", version } } }