Merge pull request #371 from usbharu/renovate/org.jetbrains.kotlinx.kover-0.x

chore(deps): update plugin kover to v0.8.0
This commit is contained in:
usbharu 2024-05-18 16:26:08 +09:00 committed by GitHub
commit d0da23ee90
3 changed files with 33 additions and 28 deletions

View File

@ -244,7 +244,7 @@ jobs:
uses: madrapps/jacoco-report@v1.6.1
with:
paths: |
${{ github.workspace }}/build/reports/kover/report.xml
${{ github.workspace }}/hideout-core/build/reports/kover/report.xml
token: ${{ secrets.GITHUB_TOKEN }}
title: Code Coverage
update-comment: true

View File

@ -31,12 +31,12 @@ version = "0.0.1"
sourceSets {
create("intTest") {
compileClasspath += sourceSets.main.get().output
runtimeClasspath += sourceSets.main.get().output
compileClasspath += sourceSets.main.get().output
runtimeClasspath += sourceSets.main.get().output
}
create("e2eTest") {
compileClasspath += sourceSets.main.get().output
runtimeClasspath += sourceSets.main.get().output
compileClasspath += sourceSets.main.get().output
runtimeClasspath += sourceSets.main.get().output
}
}
@ -304,29 +304,34 @@ project.gradle.taskGraph.whenReady {
}
kover {
excludeSourceSets {
names("aot", "e2eTest", "intTest")
}
}
currentProject {
sources {
excludedSourceSets.addAll(
"aot", "e2eTest", "intTest"
)
koverReport {
filters {
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(
"dev.usbharu.hideout.controller.mastodon.generated",
"dev.usbharu.hideout.domain.mastodon.model.generated"
)
packages("org.springframework")
packages("org.jetbrains")
}
}
reports {
filters {
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(
"dev.usbharu.hideout.controller.mastodon.generated",
"dev.usbharu.hideout.domain.mastodon.model.generated"
)
packages("org.springframework")
packages("org.jetbrains")
}
}
}
}

View File

@ -87,6 +87,6 @@ kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
spring-boot = { id = "org.springframework.boot", version = "3.2.5" }
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
kotlin-spring = { id = "org.jetbrains.kotlin.plugin.spring", version.ref = "kotlin" }
kover = { id = "org.jetbrains.kotlinx.kover", version = "0.7.6" }
kover = { id = "org.jetbrains.kotlinx.kover", version = "0.8.0" }
openapi-generator = { id = "org.openapi.generator", version = "7.4.0" }
license-report = { id = "com.github.jk1.dependency-license-report", version = "2.7" }