Skip to content

Commit

Permalink
Exclude some projects
Browse files Browse the repository at this point in the history
  • Loading branch information
turchenkoalex committed Jul 11, 2024
1 parent 8219dc0 commit 024c7bc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import io.gitlab.arturbosch.detekt.Detekt
import io.gitlab.arturbosch.detekt.report.ReportMergeTask
import kotlin.math.min

group = "com.ecwid"
version = "1.0-SNAPSHOT"
Expand Down Expand Up @@ -54,11 +53,24 @@ subprojects {
}

// Kover - coverage

val excludedProjects = listOf(
":benchmarks",
":mocks",
":sample",
)

subprojects {
apply(plugin = "org.jetbrains.kotlinx.kover")

kover {
reports {
filters {
excludes {
projects.addAll(excludedProjects)
}
}

verify {
rule {
minBound(50)
Expand All @@ -68,6 +80,7 @@ subprojects {
}
}

// Total kover rules
kover {
reports {
total {
Expand Down

0 comments on commit 024c7bc

Please sign in to comment.