diff options
Diffstat (limited to 'build-logic/kotlin-plugins')
-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}")) } |