Skip to content

Commit

Permalink
Add jacocoAggregatedReport
Browse files Browse the repository at this point in the history
  • Loading branch information
ak-git committed Jun 15, 2024
1 parent f22cdcf commit 1bc6275
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ tasks.spotbugsMain {
}
}

sonar {
properties {
property 'sonar.projectKey', 'ak-git_SimpleApp'
property 'sonar.organization', 'ak-git'
property 'sonar.host.url', 'https://sonarcloud.io'
property 'sonar.branch.name', 'master'
property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/jacocoAggregatedReport/jacocoAggregatedReport.xml'
}
}

ext {
javaVersion = JavaVersion.VERSION_21
}
Expand Down Expand Up @@ -57,16 +67,6 @@ allprojects {
}
}

sonar {
properties {
property 'sonar.projectKey', 'ak-git_SimpleApp'
property 'sonar.organization', 'ak-git'
property 'sonar.host.url', 'https://sonarcloud.io'
property 'sonar.branch.name', 'master'
property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/jacocoAggregatedReport/jacocoAggregatedReport.xml'
}
}

dependencies {
implementation libs.findbugs.jsr305
testImplementation(platform(libs.junit))
Expand Down

0 comments on commit 1bc6275

Please sign in to comment.