Skip to content

Update to Robolectric 4.16.1 - #51

Open
MGaetan89 wants to merge 1 commit into
bazaarvoice:masterfrom
MGaetan89:update_robolectric
Open

Update to Robolectric 4.16.1#51
MGaetan89 wants to merge 1 commit into
bazaarvoice:masterfrom
MGaetan89:update_robolectric

Conversation

@MGaetan89

@MGaetan89 MGaetan89 commented Mar 28, 2025

Copy link
Copy Markdown

Description

The main change in this PR is the update of Robolectric to version 4.16.1.
The following changes result from this update:

  • Remove the dependency to org.robolectric:shadows-playservices.
  • Remove the custom ShadowNetwork shadow, since it is now in Robolectric.
  • Update all the robolectric.properties files to use sdk 24 instead of 18.
  • Remove obsolete properties and properties set to the default value from robolectric.properties files.

Note: not all tests are passing locally, but I think that they were failing before my changes too. Let me know if I'm wrong and should investigate more.

Checklist

  • Code compiles correctly
  • All tests passing
  • Validate that all example applications compile, run, and work (if applicable)
  • Automated Builds completed successfully
  • Extended the README, if necessary

@MGaetan89

Copy link
Copy Markdown
Author

@junaidBazaarVoice any chance to have a look at this PR?

@MGaetan89
MGaetan89 force-pushed the update_robolectric branch from f75e0b9 to 0f41b15 Compare May 26, 2025 05:28
@MGaetan89

Copy link
Copy Markdown
Author

@junaidBazaarVoice I've updated my PR with the latest changes from master

@MGaetan89

Copy link
Copy Markdown
Author

Robolectric 4.16 has been released without the shadows-playservices module.
Let me know if I need to make any change to this PR in order to have it merged.

@MGaetan89
MGaetan89 force-pushed the update_robolectric branch from 0f41b15 to d6238d9 Compare July 29, 2026 06:31
@MGaetan89 MGaetan89 changed the title Update to Robolectric 4.12.2 Update to Robolectric 4.16.1 Jul 29, 2026
@MGaetan89
MGaetan89 force-pushed the update_robolectric branch from d6238d9 to fff5641 Compare July 29, 2026 06:35
@MGaetan89

Copy link
Copy Markdown
Author

@junaidBazaarVoice I've updated my PR to fix the conflicts and update to Robolectric 4.16.1. Let me know if you're interested in this or if I should close it.

@MGaetan89
MGaetan89 force-pushed the update_robolectric branch from fff5641 to 607c30c Compare July 29, 2026 06:51
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