mirror of https://github.com/usbharu/Hideout.git
chore: Koverのカバレッジレポートを出力できるように
This commit is contained in:
parent
8a770ab1f2
commit
4719098037
|
@ -16,6 +16,7 @@ plugins {
|
||||||
id("org.springframework.boot") version "3.1.3"
|
id("org.springframework.boot") version "3.1.3"
|
||||||
kotlin("plugin.spring") version "1.8.21"
|
kotlin("plugin.spring") version "1.8.21"
|
||||||
id("org.openapi.generator") version "7.0.1"
|
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"
|
// 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")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue