Skip to content

feat(snapshot): Make metadata plugin variant-aware#1123

Merged
runningcode merged 2 commits intomainfrom
no/snapshot-metadata-variant-aware
Mar 26, 2026
Merged

feat(snapshot): Make metadata plugin variant-aware#1123
runningcode merged 2 commits intomainfrom
no/snapshot-metadata-variant-aware

Conversation

@runningcode
Copy link
Copy Markdown
Contributor

@runningcode runningcode commented Mar 26, 2026

Summary

  • Register per-variant ExportPreviewMetadata tasks using AndroidComponentsExtension.onVariants instead of hard-coding the debug variant
  • Each variant gets its own task (e.g. exportPreviewMetadataDebug, exportPreviewMetadataRelease) with the correct compile task, runtime classpath, and output path

#skip-changelog

🤖 Generated with Claude Code

Register per-variant ExportPreviewMetadata tasks using the
AndroidComponentsExtension onVariants API instead of hard-coding the
debug variant. Each variant now gets its own task
(e.g. exportPreviewMetadataDebug, exportPreviewMetadataRelease) with
the correct compile task, runtime classpath, and output path.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 26, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 26, 2026

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

Generated by 🚫 dangerJS against 4ab5774

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@runningcode runningcode merged commit 5abe0ef into main Mar 26, 2026
22 of 23 checks passed
@runningcode runningcode deleted the no/snapshot-metadata-variant-aware branch March 26, 2026 09:54
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