diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-12-11 00:12:54 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-11 00:12:54 +0530 |
commit | 7d39bc0ae201361eb787055ccb0d5edcb31f83a2 (patch) | |
tree | f1f7154a7ecf17acd2bb45ed8735a4750203d0c7 /build-logic/kotlin-plugins/src/main | |
parent | b59c4f068cd9f4791a78d94c3c75f7484423f977 (diff) |
Miscellaneous build and CI cleanups (#1587)
Diffstat (limited to 'build-logic/kotlin-plugins/src/main')
-rw-r--r-- | build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-library.gradle.kts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-library.gradle.kts b/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-library.gradle.kts index d8e88bf5..8dfa887f 100644 --- a/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-library.gradle.kts +++ b/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-library.gradle.kts @@ -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}")) } |