Skip to content

Commit a5c0f1b

Browse files
committed
Update Sonar configuration
1 parent 4636ec9 commit a5c0f1b

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.github/workflows/pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ jobs:
7777
env:
7878
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
7979
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
80-
run: ./gradlew build sonarqube --info
80+
run: ./gradlew build jacocoTestReport sonarqube --info

.github/workflows/snapshot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ jobs:
9494
env:
9595
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
9696
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
97-
run: ./gradlew build sonarqube --info
97+
run: ./gradlew build jacocoTestReport sonarqube --info

build.gradle

-6
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ subprojects {
9595
}
9696
}
9797

98-
sonarqube {
99-
properties {
100-
property "sonar.coverage.jacoco.xmlReportPaths", "build/reports/jacoco/test/jacocoTestReport.xml"
101-
}
102-
}
103-
10498
if (!it.name.startsWith('example')) {
10599

106100
jar {

0 commit comments

Comments
 (0)