Skip to content

Conversation

@mannodermaus
Copy link
Owner

There was already a task to rewrite the POM files associated with each instrumentation library (e.g. replacing core with android-test-core in the XML), but I overlooked that Gradle has started generating another metadata file that needed replacing: the Gradle Module Metadata. This is what is actually being preferred when Gradle resolves variants into dependencies, causing issues like #402 and #403 due to the references being wrong in there, too. This PR fixes that. Unfortunately, the GMM API is internal and most of it inaccessible, so create a "modifier" class to update the references accordingly.

@mannodermaus mannodermaus self-assigned this Jan 14, 2026
@mannodermaus mannodermaus merged commit c3cd775 into main Jan 14, 2026
3 checks passed
@mannodermaus mannodermaus deleted the fix-gmm-artifact-ids branch January 14, 2026 13:20
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