Skip to content

Conversation

@gpunto
Copy link
Contributor

@gpunto gpunto commented Nov 25, 2025

Goal

AND-892

As the title says, we're moving to the common coverage convention instead of configuring it in here.

Implementation

Remove the custom coverage configuration logic and rely on the plugins

🎨 UI Changes

None

Testing

Coverage should be reported correctly to Sonar

☑️Contributor Checklist

General

  • I have signed the Stream CLA (required)
  • Assigned a person / code owner group (required)
  • Thread with the PR link started in a respective Slack channel (required internally)
  • PR targets the develop branch
  • PR is linked to the GitHub issue it resolves

Code & documentation

  • Changelog is updated with client-facing changes
  • New code is covered by unit tests
  • Comparison screenshots added for visual changes
  • Affected documentation updated (KDocs, docusaurus, tutorial)
  • Tutorial starter kit updated
  • Examples/guides starter kits updated (stream-video-examples)

☑️Reviewer Checklist

  • XML sample runs & works
  • Compose sample runs & works
  • Tutorial starter kit
  • Example starter kits work
  • UI Changes correct (before & after images)
  • Bugs validated (bugfixes)
  • New feature tested and works
  • Release notes and docs clearly describe changes
  • All code we touched has new or updated KDocs
  • Check the SDK Size Comparison table in the CI logs

🎉 GIF

Please provide a suitable gif that describes your work on this pull request

@gpunto gpunto requested a review from Copilot November 25, 2025 11:53
@gpunto gpunto added the pr:ci CI / GitHub Actions / workflow updates label Nov 25, 2025
Copy link
Contributor

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 migrates the project from custom coverage and publishing configuration scripts to Stream's convention plugins (version 0.4.0). The changes centralize build configuration and simplify the project structure.

Key Changes:

  • Migrated from custom Gradle scripts to Stream convention plugins for coverage, publishing, and code formatting
  • Updated from spotless custom configuration to convention plugin-based approach
  • Replaced manual Maven publishing setup with vanniktech/maven-publish plugin
  • Standardized copyright headers across XML files (updated year range to 2014-2024 and normalized formatting)

Reviewed changes

Copilot reviewed 182 out of 188 changed files in this pull request and generated no comments.

Show a summary per file
File Description
build.gradle.kts Migrated to stream-project plugin, configured coverage and spotless settings, replaced custom publish scripts with maven-publish plugin setup
gradle/libs.versions.toml Updated streamConventions to 0.4.0, added maven-publish plugin, removed kover/sonarqube/nexus plugins
build-logic/convention/* Removed SpotlessConventionPlugin, added DemoFlavorConventionPlugin
stream-video-android-*/build.gradle.kts Updated all library modules to use maven-publish plugin with AndroidSingleVariantLibrary configuration
tutorials/*/build.gradle.kts Removed spotless plugin references, cleaned up suppressions
demo-app/build.gradle.kts Applied demoflavor convention plugin, removed manual flavor configuration
benchmark/build.gradle.kts Switched to stream.android.test plugin, applied demoflavor convention
scripts/*.gradle Removed custom publish, coverage, and sonar scripts (migrated to plugins)
spotless/copyright.* Removed copyright template files (now handled by convention plugin)
**/*.xml Updated copyright headers: year range and formatting normalization
.github/workflows/*.yml Updated publish workflows to use new maven-publish plugin environment variables
Files not reviewed (5)
  • tutorials/tutorial-audio/.idea/gradle.xml: Language not supported
  • tutorials/tutorial-audio/.idea/misc.xml: Language not supported
  • tutorials/tutorial-livestream/.idea/gradle.xml: Language not supported
  • tutorials/tutorial-livestream/.idea/misc.xml: Language not supported
  • tutorials/tutorial-livestream/.idea/workspace.xml: Language not supported

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

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@gpunto gpunto changed the title Plugins.coverage Configure converage common convention plugins Nov 25, 2025
@gpunto gpunto force-pushed the plugins.spotless.apply branch from 20685d2 to 0b166b2 Compare November 25, 2025 12:13
@gpunto gpunto changed the title Configure converage common convention plugins Configure coverage through common convention plugins Nov 25, 2025
Base automatically changed from plugins.spotless.apply to develop November 25, 2025 14:29
@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2025

PR checklist ✅

All required conditions are satisfied:

  • Title length is OK (or ignored by label).
  • At least one pr: label exists.
  • Sections ### Goal, ### Implementation, and ### Testing are filled.

🎉 Great job! This PR is ready for review.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2025

SDK Size Comparison 📏

SDK Before After Difference Status
stream-video-android-core 11.93 MB 11.93 MB 0.00 MB 🟢
stream-video-android-ui-xml 5.70 MB 5.70 MB 0.00 MB 🟢
stream-video-android-ui-compose 6.27 MB 6.27 MB 0.00 MB 🟢

@gpunto gpunto marked this pull request as ready for review November 27, 2025 09:23
@gpunto gpunto requested a review from a team as a code owner November 27, 2025 09:23
@gpunto gpunto enabled auto-merge (squash) November 27, 2025 15:52
@sonarqubecloud
Copy link

@gpunto gpunto merged commit e35ae49 into develop Nov 27, 2025
12 checks passed
@gpunto gpunto deleted the plugins.coverage branch November 27, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:ci CI / GitHub Actions / workflow updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants