Skip to content

Commit

Permalink
Nit: Fix kover report location
Browse files Browse the repository at this point in the history
This should, as a side effect, fix the coverage badge not getting
updated.
  • Loading branch information
bitspittle committed Apr 13, 2024
1 parent 3d7c28e commit 65ab091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tasks.register("printLineCoverage") {
group = "verification" // Put into the same group as the `kover` tasks
dependsOn("koverXmlReport")
doLast {
val report = file("$buildDir/reports/kover/xml/report.xml")
val report = layout.buildDirectory.file("reports/kover/report.xml").get().asFile

val doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(report)
val rootNode = doc.firstChild
Expand Down

0 comments on commit 65ab091

Please sign in to comment.