Skip to content

Commit

Permalink
Update sonar plugin (#6769)
Browse files Browse the repository at this point in the history
* update sonar dependencies to be compatible with gradle 8

* update sonar config
  • Loading branch information
zdeveloper authored Oct 25, 2023
1 parent 00e452a commit d4e7cb1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
id 'java'
id 'checkstyle'
id 'jacoco'
id 'org.sonarqube' version '4.0.0.2929'
id 'org.sonarqube' version '4.4.1.3373'
id 'com.gorylenko.gradle-git-properties' version '2.4.1'
id "com.diffplug.spotless" version "6.22.0"
}
Expand Down Expand Up @@ -198,7 +198,7 @@ liquibase {
}
}

sonarqube {
sonar {
properties {
property "sonar.projectKey", "CDCgov_prime-data-input-client"
property "sonar.organization", "cdcgov"
Expand All @@ -209,6 +209,7 @@ sonarqube {
property "sonar.coverage.exclusions", "frontend/src/setupTests.js,frontend/src/index.tsx"
property "sonar.cpd.exclusions", "frontend/src/lang/*.ts"
property "sonar.javascript.lcov.reportPaths", "frontend/coverage/lcov.info,ops/services/app_functions/report_stream_batched_publisher/functions/coverage/lcov.info"
property "sonar.gradle.skipCompile", "false"
}
}

Expand Down

0 comments on commit d4e7cb1

Please sign in to comment.