Merge pull request #282 from usbharu/configration

chore: カバレッジの計測から構成ファイル等をなくした
This commit is contained in:
usbharu 2024-02-16 20:07:06 +09:00 committed by GitHub
commit 584b9f41cb
1 changed files with 14 additions and 7 deletions

View File

@ -269,8 +269,6 @@ dependencies {
e2eTestImplementation("com.intuit.karate:karate-junit5:1.4.1") e2eTestImplementation("com.intuit.karate:karate-junit5:1.4.1")
} }
detekt { detekt {
@ -281,7 +279,7 @@ detekt {
autoCorrect = true autoCorrect = true
} }
tasks.withType<io.gitlab.arturbosch.detekt.Detekt>() { tasks.withType<io.gitlab.arturbosch.detekt.Detekt> {
exclude("**/generated/**") exclude("**/generated/**")
doFirst { doFirst {
@ -327,6 +325,15 @@ kover {
koverReport { koverReport {
filters { filters {
excludes { excludes {
packages(
"dev.usbharu.hideout.activitypub.domain.exception",
"dev.usbharu.hideout.core.domain.exception",
"dev.usbharu.hideout.core.domain.exception.media",
"dev.usbharu.hideout.core.domain.exception.resource",
"dev.usbharu.hideout.core.domain.exception.resource.local"
)
annotatedBy("org.springframework.context.annotation.Configuration")
annotatedBy("org.springframework.boot.context.properties.ConfigurationProperties")
packages( packages(
"dev.usbharu.hideout.controller.mastodon.generated", "dev.usbharu.hideout.controller.mastodon.generated",
"dev.usbharu.hideout.domain.mastodon.model.generated" "dev.usbharu.hideout.domain.mastodon.model.generated"