Skip to content

Conversation

@gpunto
Copy link
Collaborator

@gpunto gpunto commented Nov 11, 2025

Coverage convention is here!

It's heavily based on what we have in Chat and Video, since they had a more complete setup.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces comprehensive code coverage configuration to the Stream build convention plugins, based on the setup used in Chat and Video SDKs. It integrates both Kover for Kotlin code coverage and SonarQube for code quality analysis.

  • Adds CoverageOptions for configurable coverage settings (included modules, exclusion patterns)
  • Implements root and module-level coverage configuration with Kover and SonarQube integration
  • Updates all convention plugins (Android library/application, Java library) to support coverage

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
plugin/src/main/kotlin/io/getstream/android/coverage/CoverageOptions.kt New configuration class defining coverage analysis options including module inclusion and exclusion patterns
plugin/src/main/kotlin/io/getstream/android/coverage/CoverageConfiguration.kt Core coverage configuration logic implementing Kover and SonarQube setup for both root and module projects
plugin/src/main/kotlin/io/getstream/android/StreamConventionPlugins.kt Updated convention plugins to integrate coverage configuration at root and module levels
plugin/src/main/kotlin/io/getstream/android/StreamConventionExtensions.kt Extended StreamProjectExtension with coverage configuration DSL support
plugin/build.gradle.kts Added dependencies for SonarQube and Kover Gradle plugins
gradle/libs.versions.toml Added version catalogs for SonarQube (6.0.1.5171) and Kover (0.9.3) plugins

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gpunto gpunto marked this pull request as ready for review November 11, 2025 14:53
@gpunto gpunto requested a review from a team November 11, 2025 14:54
@aleksandar-apostolov aleksandar-apostolov merged commit 755bf6e into develop Nov 24, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants