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

@ -214,7 +214,7 @@ dependencies {
implementation("org.apache.tika:tika-core:2.9.1") implementation("org.apache.tika:tika-core:2.9.1")
implementation("org.apache.tika:tika-parsers:2.9.1") implementation("org.apache.tika:tika-parsers:2.9.1")
implementation("net.coobird:thumbnailator:0.4.20") implementation("net.coobird:thumbnailator:0.4.20")
implementation("org.bytedeco:javacv:1.5.10"){ implementation("org.bytedeco:javacv:1.5.10") {
exclude(module = "opencv") exclude(module = "opencv")
exclude(module = "flycapture") exclude(module = "flycapture")
exclude(module = "artoolkitplus") exclude(module = "artoolkitplus")
@ -226,9 +226,9 @@ dependencies {
exclude(module = "libfreenect2") exclude(module = "libfreenect2")
} }
if (os.isWindows) { if (os.isWindows) {
implementation("org.bytedeco","ffmpeg","6.1.1-1.5.10", classifier = "windows-x86_64") implementation("org.bytedeco", "ffmpeg", "6.1.1-1.5.10", classifier = "windows-x86_64")
}else{ } else {
implementation("org.bytedeco","ffmpeg","6.1.1-1.5.10", classifier = "linux-x86_64") implementation("org.bytedeco", "ffmpeg", "6.1.1-1.5.10", classifier = "linux-x86_64")
} }
implementation("org.flywaydb:flyway-core") implementation("org.flywaydb:flyway-core")
@ -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"