diff --git a/.github/workflows/sonar-analysis.yml b/.github/workflows/sonar-analysis.yml index 69667376..bd62fbbb 100644 --- a/.github/workflows/sonar-analysis.yml +++ b/.github/workflows/sonar-analysis.yml @@ -34,4 +34,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: ./gradlew sonarqube --info \ No newline at end of file + run: ./gradlew sonar --info \ No newline at end of file diff --git a/build.gradle b/build.gradle index ba2b741e..50a6b0f6 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { plugins { id 'org.springframework.boot' version '2.2.2.RELEASE' id "org.flywaydb.flyway" version "6.0.8" - id "org.sonarqube" version "2.7" + id "org.sonarqube" version "4.4.1.3373" id "com.moowork.node" version "1.2.0" id 'com.avast.gradle.docker-compose' version '0.8.10' id "com.github.ben-manes.versions" version "0.20.0" @@ -295,7 +295,7 @@ checkstyle { toolVersion = "8.12" } -sonarqube { +sonar { properties { property "sonar.projectKey", "OpenLMIS_openlmis-referencedata" property "sonar.organization", "openlmis"