Skip to content

feat(distribution): Enable build uploads when distribution is enabled#1011

Merged
runningcode merged 1 commit into
mainfrom
no/distribution-upload-support
Oct 22, 2025
Merged

feat(distribution): Enable build uploads when distribution is enabled#1011
runningcode merged 1 commit into
mainfrom
no/distribution-upload-support

Conversation

@runningcode

@runningcode runningcode commented Oct 22, 2025

Copy link
Copy Markdown
Contributor

Summary

Enables build uploads when distribution is configured, decoupling it from size analysis.

Previously, build uploads only occurred when sizeAnalysis.enabled was true. This change allows builds to be uploaded when either:

  • Size analysis is globally enabled, OR
  • The variant is in distribution.enabledVariants

This allows users to use build distribution independently of size analysis features, while still supporting both features working together.

Changes

  • Updated AndroidComponentsConfig.kt to check both sizeAnalysis.enabled and distribution.enabledVariants when deciding whether to configure upload tasks
  • The buildConfiguration parameter continues to be used for both features to organize builds

#skip-changelog

🤖 Generated with Claude Code

Previously, build uploads only occurred when size analysis was enabled.
This change allows builds to be uploaded when either size analysis is
enabled or when a variant is configured in distribution.enabledVariants.

This enables users to use build distribution independently of size
analysis features, while still supporting both features together.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 22, 2025

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 395d0ae

@runningcode runningcode marked this pull request as ready for review October 22, 2025 14:57

@chromy chromy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm, thanks!

@runningcode runningcode merged commit b79ef37 into main Oct 22, 2025
18 of 19 checks passed
@runningcode runningcode deleted the no/distribution-upload-support branch October 22, 2025 15:23
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.

2 participants