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 } } }