@@ -27,8 +27,6 @@ plugins {
2727 alias(libs.plugins.detekt) apply false
2828 alias(libs.plugins.shot) apply false
2929 alias(libs.plugins.androidx.navigation) apply false
30- alias(libs.plugins.sonarqube) apply false
31- alias(libs.plugins.kover) apply false
3230 id(" io.getstream.chat.ReleasePlugin" )
3331 id(" io.getstream.chat.ChangelogReleaseSectionPlugin" )
3432 alias(libs.plugins.gitversioner)
@@ -41,6 +39,28 @@ streamProject {
4139 spotless {
4240 ignoredModules = setOf (" stream-chat-android-docs" )
4341 }
42+
43+ coverage {
44+ includedModules = setOf (
45+ " stream-chat-android-client" ,
46+ " stream-chat-android-compose" ,
47+ " stream-chat-android-core" ,
48+ " stream-chat-android-markdown-transformer" ,
49+ " stream-chat-android-offline" ,
50+ " stream-chat-android-state" ,
51+ " stream-chat-android-ui-common" ,
52+ " stream-chat-android-ui-utils" ,
53+ )
54+ }
55+ }
56+
57+ afterEvaluate {
58+ tasks.named(" testCoverage" ) {
59+ // Run Paparazzi tests of the UI Components module but do not include its coverage in the report
60+ // until we can update Paparazzi and Kover libraries alongside Kotlin and Compose.
61+ // See https://linear.app/stream/issue/AND-819/update-paparazzi-and-kover-libraries
62+ dependsOn(" stream-chat-android-ui-components:verifyPaparazziDebug" )
63+ }
4464}
4565
4666buildscript {
@@ -54,8 +74,6 @@ buildscript {
5474}
5575
5676apply (from = " ${rootDir} /scripts/sample-app-versioner.gradle" )
57- apply (from = " ${rootDir} /scripts/sonar.gradle" )
58- apply (from = " ${rootDir} /scripts/coverage.gradle" )
5977
6078subprojects {
6179 // Configure Android projects with common SDK versions as soon as either plugin is applied
0 commit comments