Skip to content

Commit 1bc6275

Browse files
committed
Add jacocoAggregatedReport
1 parent f22cdcf commit 1bc6275

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

build.gradle

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ tasks.spotbugsMain {
2323
}
2424
}
2525

26+
sonar {
27+
properties {
28+
property 'sonar.projectKey', 'ak-git_SimpleApp'
29+
property 'sonar.organization', 'ak-git'
30+
property 'sonar.host.url', 'https://sonarcloud.io'
31+
property 'sonar.branch.name', 'master'
32+
property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/jacocoAggregatedReport/jacocoAggregatedReport.xml'
33+
}
34+
}
35+
2636
ext {
2737
javaVersion = JavaVersion.VERSION_21
2838
}
@@ -57,16 +67,6 @@ allprojects {
5767
}
5868
}
5969

60-
sonar {
61-
properties {
62-
property 'sonar.projectKey', 'ak-git_SimpleApp'
63-
property 'sonar.organization', 'ak-git'
64-
property 'sonar.host.url', 'https://sonarcloud.io'
65-
property 'sonar.branch.name', 'master'
66-
property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/jacocoAggregatedReport/jacocoAggregatedReport.xml'
67-
}
68-
}
69-
7070
dependencies {
7171
implementation libs.findbugs.jsr305
7272
testImplementation(platform(libs.junit))

0 commit comments

Comments
 (0)