diff options
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 | 9 |
1 files changed, 8 insertions, 1 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 516f5e4f..d8e88bf5 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 @@ -6,7 +6,10 @@ import org.gradle.kotlin.dsl.withType import org.jetbrains.kotlin.gradle.tasks.KotlinCompile -plugins { id("com.github.android-password-store.kotlin-common") } +plugins { + id("com.github.android-password-store.kotlin-common") + id("org.jetbrains.kotlinx.kover") +} tasks.withType<KotlinCompile>().configureEach { kotlinOptions { @@ -15,3 +18,7 @@ tasks.withType<KotlinCompile>().configureEach { } } } + +tasks.koverCollectReports { + outputDir.set(rootProject.layout.buildDirectory.dir("coverage-reports")) +} |