diff --git a/build.gradle.kts b/build.gradle.kts index 6db01d0..18cd8af 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,8 +19,17 @@ idea { } } + val reports = configurations.register("reports") { isCanBeDeclared = true } +koverReport { + defaults { + xml { + onCheck = true + } + } + + configurations { kover.extendsFrom(reports) sarif.extendsFrom(reports) @@ -41,4 +50,4 @@ val projectSarifReport by tasks.registering(ReportMergeTask::class) { task("check") { dependsOn(projectSarifReport) -} \ No newline at end of file +} diff --git a/buildSrc/src/main/kotlin/ghidralite-kotlin-conventions.gradle.kts b/buildSrc/src/main/kotlin/ghidralite-kotlin-conventions.gradle.kts index 07abc6a..000f0e0 100644 --- a/buildSrc/src/main/kotlin/ghidralite-kotlin-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/ghidralite-kotlin-conventions.gradle.kts @@ -34,6 +34,13 @@ detekt { ignoreFailures = true } +koverReport { + defaults { + xml { + onCheck = true + } + } +} tasks { detektMain {