diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f8600cbd5..4072e1175 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -24,12 +24,11 @@ comscore = "6.10.0" dependency-analysis-gradle-plugin = "1.29.0" detekt = "1.23.5" guava = "31.1-android" -jacoco = "0.8.11" json = "20231013" junit = "4.13.2" kotlin = "1.9.22" kotlinx-coroutines = "1.8.0" -kotlinx-kover = "0.7.5" +kotlinx-kover = "0.7.6" kotlinx-serialization = "1.6.2" ktor = "2.3.8" mockk = "1.13.9" diff --git a/pillarbox-analytics/build.gradle.kts b/pillarbox-analytics/build.gradle.kts index 05e1c3cec..23fa8b7aa 100644 --- a/pillarbox-analytics/build.gradle.kts +++ b/pillarbox-analytics/build.gradle.kts @@ -77,8 +77,12 @@ dependencies { testImplementation(libs.robolectric.shadows.framework) } -kover { - useJacoco(libs.versions.jacoco.get()) +koverReport { + androidReports("debug") { + xml { + title.set(project.path) + } + } } publishing { diff --git a/pillarbox-core-business/build.gradle.kts b/pillarbox-core-business/build.gradle.kts index 93ab2f874..0b087f3c1 100644 --- a/pillarbox-core-business/build.gradle.kts +++ b/pillarbox-core-business/build.gradle.kts @@ -98,8 +98,12 @@ dependencies { androidTestImplementation(libs.kotlinx.coroutines.test) } -kover { - useJacoco(libs.versions.jacoco.get()) +koverReport { + androidReports("debug") { + xml { + title.set(project.path) + } + } } publishing { diff --git a/pillarbox-player/build.gradle.kts b/pillarbox-player/build.gradle.kts index 2965d7cfb..e02dd1f54 100644 --- a/pillarbox-player/build.gradle.kts +++ b/pillarbox-player/build.gradle.kts @@ -103,8 +103,12 @@ dependencies { androidTestImplementation(libs.mockk.android) } -kover { - useJacoco(libs.versions.jacoco.get()) +koverReport { + androidReports("debug") { + xml { + title.set(project.path) + } + } } publishing { diff --git a/pillarbox-ui/build.gradle.kts b/pillarbox-ui/build.gradle.kts index 6c82b550b..50c7607a9 100644 --- a/pillarbox-ui/build.gradle.kts +++ b/pillarbox-ui/build.gradle.kts @@ -77,8 +77,12 @@ dependencies { debugImplementation(libs.androidx.compose.ui.tooling) } -kover { - useJacoco(libs.versions.jacoco.get()) +koverReport { + androidReports("debug") { + xml { + title.set(project.path) + } + } } publishing {