]> source.dussan.org Git - poi.git/commitdiff
Update to SonarQube plugin 3.1.1 and try to set version
authorDominik Stadler <centic@apache.org>
Mon, 26 Apr 2021 15:12:35 +0000 (15:12 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 26 Apr 2021 15:12:35 +0000 (15:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889206 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index f0382936b62d7eb33042a0e2d2403fd2beabf744..cfcca5590b6d01b6d653f7f15d43991e14ff364b 100644 (file)
@@ -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
             }
         }
     }