Skip to content

Commit

Permalink
Setting a custom directory
Browse files Browse the repository at this point in the history
  • Loading branch information
josdem committed Jan 12, 2025
1 parent ddcc8d8 commit 39ae487
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,12 @@ dependencies {

jacoco {
toolVersion = "0.8.11"
reportsDirectory = layout.buildDirectory.dir('coverage-reports')
}

jacocoTestReport {
reports {
html.required = false
xml.required = true
}
}
Expand All @@ -101,6 +103,7 @@ sonar {
property "sonar.projectKey", "josdem_jmetadata"
property "sonar.organization", "josdem-io"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/coverage-reports/test/jacocoTestReport.xml"
property "sonar.coverage.exclusions", "**/laf/**/*,**/gui/**/*,**/dnd/**/*"
}
}
Expand Down

0 comments on commit 39ae487

Please sign in to comment.