Skip to content

Bump Metro to 1.3.0-SNAPSHOT and migrate contribution hints#76

Draft
tcmulcahy wants to merge 1 commit into
mainfrom
tomm/metro-1-3-contribution-hints
Draft

Bump Metro to 1.3.0-SNAPSHOT and migrate contribution hints#76
tcmulcahy wants to merge 1 commit into
mainfrom
tomm/metro-1-3-contribution-hints

Conversation

@tcmulcahy

@tcmulcahy tcmulcahy commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bump Metro from 1.1.1 to 1.3.0-SNAPSHOT and add Sonatype snapshots for plugin/dependency resolution.
  • Implement MetroContributionHintExtension on the FIR generators that already emit contribution hints.
  • Remove the scoped multibinding MetroContributionExtension bridge from Bump Metro to 1.2.0 #72 and rely on scoped contribution hints.
  • Update FIR dump goldens for Metro factory return-type rendering changes.

Tests

  • JAVA_HOME=$(/usr/libexec/java_home -v 25) ./gradlew :compiler:compileKotlin --quiet
  • JAVA_HOME=$(/usr/libexec/java_home -v 25) ./gradlew :compiler:test --tests 'com.squareup.metro.extensions.runners.BoxTestGenerated$Contributesmultibindingscoped' --quiet
  • JAVA_HOME=$(/usr/libexec/java_home -v 25) ./gradlew :compiler:test --quiet
  • JAVA_HOME=$(/usr/libexec/java_home -v 25) ./gradlew :compiler:ktfmtCheck :compiler:apiCheck --quiet
  • JAVA_HOME=$(/usr/libexec/java_home -v 25) ./gradlew :compiler:test -PuseLocalMetro -PlocalMetroPath=../metro --quiet
  • JAVA_HOME=$(/usr/libexec/java_home -v 25) ./gradlew test --quiet
  • JAVA_HOME=$(/usr/libexec/java_home -v 25) ./gradlew -p integration-tests test -PuseLocalMetro -PlocalMetroPath=../metro --quiet
  • JAVA_HOME=$(/usr/libexec/java_home -v 25) ./gradlew apiCheck --quiet

@tcmulcahy tcmulcahy force-pushed the tomm/metro-1-3-contribution-hints branch from 39caa2a to 8cead6f Compare June 12, 2026 16:44
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.

1 participant