Miscellaneous build and CI cleanups (#1587)

This commit is contained in:
Harsh Shandilya 2021-12-11 00:12:54 +05:30 committed by GitHub
parent b59c4f068c
commit 7d39bc0ae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 40 additions and 29 deletions

View file

@ -19,6 +19,10 @@ tasks.withType<KotlinCompile>().configureEach {
}
}
tasks.koverCollectReports {
outputDir.set(rootProject.layout.buildDirectory.dir("coverage-reports"))
tasks.koverXmlReport {
xmlReportFile.set(rootProject.layout.buildDirectory.file("coverage-reports/${project.name}.xml"))
}
tasks.koverHtmlReport {
htmlReportDir.set(rootProject.layout.buildDirectory.dir("coverage-reports/${project.name}"))
}