Update Kover to 0.8.3 (#296)

This commit is contained in:
Kirill Kamakin
2024-07-28 09:31:06 +02:00
committed by GitHub
parent f9277208b9
commit e71055930c
2 changed files with 38 additions and 36 deletions

View File

@@ -13,8 +13,8 @@ plugins {
android { android {
defaultConfig { defaultConfig {
applicationId = "gq.kirmanak.mealient" applicationId = "gq.kirmanak.mealient"
versionCode = 35 versionCode = 36
versionName = "0.4.6" versionName = "0.4.7"
testInstrumentationRunner = "gq.kirmanak.mealient.MealientTestRunner" testInstrumentationRunner = "gq.kirmanak.mealient.MealientTestRunner"
testInstrumentationRunnerArguments += mapOf("clearPackageData" to "true") testInstrumentationRunnerArguments += mapOf("clearPackageData" to "true")
resourceConfigurations += listOf("en", "es", "ru", "fr", "nl", "pt", "de") resourceConfigurations += listOf("en", "es", "ru", "fr", "nl", "pt", "de")
@@ -98,14 +98,14 @@ dependencies {
debugImplementation(libs.squareup.leakcanary) debugImplementation(libs.squareup.leakcanary)
kover(project(":model_mapper"))
kover(project(":features:shopping_lists"))
kover(project(":ui"))
kover(project(":logging"))
kover(project(":architecture")) kover(project(":architecture"))
kover(project(":database")) kover(project(":database"))
kover(project(":datastore"))
kover(project(":datasource")) kover(project(":datasource"))
kover(project(":datastore"))
kover(project(":features:shopping_lists"))
kover(project(":logging"))
kover(project(":model_mapper"))
kover(project(":ui"))
ksp(libs.google.dagger.hiltCompiler) ksp(libs.google.dagger.hiltCompiler)
@@ -140,7 +140,8 @@ dependencies {
androidTestUtil(libs.androidx.test.orchestrator) androidTestUtil(libs.androidx.test.orchestrator)
} }
koverReport { kover {
reports {
filters { filters {
excludes { excludes {
classes( classes(
@@ -165,7 +166,7 @@ koverReport {
packages("gq.kirmanak.mealient") packages("gq.kirmanak.mealient")
} }
} }
androidReports("release") { variant("release") {
verify { verify {
rule { rule {
minBound(30) minBound(30)
@@ -173,3 +174,4 @@ koverReport {
} }
} }
} }
}

View File

@@ -80,7 +80,7 @@ ktor = "2.3.12"
# https://github.com/coil-kt/coil/releases # https://github.com/coil-kt/coil/releases
coil = "2.7.0" coil = "2.7.0"
# https://github.com/Kotlin/kotlinx-kover/releases # https://github.com/Kotlin/kotlinx-kover/releases
kover = "0.7.6" kover = "0.8.3"
[libraries] [libraries]
android-gradlePlugin = { group = "com.android.tools.build", name = "gradle", version.ref = "androidGradlePlugin" } android-gradlePlugin = { group = "com.android.tools.build", name = "gradle", version.ref = "androidGradlePlugin" }