diff --git a/build.gradle.kts b/build.gradle.kts index 78197b53..2e26ef41 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -16,6 +16,7 @@ plugins { id("org.springframework.boot") version "3.1.3" kotlin("plugin.spring") version "1.8.21" id("org.openapi.generator") version "7.0.1" + id("org.jetbrains.kotlinx.kover") version "0.7.4" // id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10" } @@ -199,3 +200,22 @@ configurations.matching { it.name == "detekt" }.all { } } } + +kover { + excludeSourceSets { + names("aot") + } +} + +koverReport { + filters { + excludes { + packages( + "dev.usbharu.hideout.controller.mastodon.generated", + "dev.usbharu.hideout.domain.mastodon.model.generated" + ) + packages("org.springframework") + packages("org.jetbrains") + } + } +}