Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make robolectric sdk downloads less hardcoded #1107

Merged
merged 6 commits into from
Nov 20, 2024
Merged

Conversation

ZacSweers
Copy link
Collaborator

This reworks how we handle robolectric jar downloads by allowing the consumer side to potentially force a newer version and load SDKs from the newer robolectric SDK. Still not super ideal as it requires putting robolectric on the buildscript classpath, but it's an impl dep at least and hopefully we can iterate on it in the future (maybe making the coordinate downloads a direct download rather than use the gradle resolver?)

I think eventually it would be helpful to spin this out to a separate, reusable plugin as we're definitely not the only ones with this issue.

This reworks how we handle robolectric jar downloads by allowing the consumer side to potentially force a newer version and load SDKs from the newer robolectric SDK. Still not super ideal as it requires putting robolectric on the buildscript classpath, but it's an impl dep at least and hopefully we can iterate on it in the future (maybe making the coordinate downloads a direct download rather than use the gradle resolver?)
@ZacSweers ZacSweers added this pull request to the merge queue Nov 20, 2024
Merged via the queue into main with commit efa0ffb Nov 20, 2024
4 checks passed
@ZacSweers ZacSweers deleted the z/robolectricDynamic branch November 20, 2024 19:55
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