Skip to content

Update Robolectric setup#422

Merged
yogevbd merged 2 commits intomasterfrom
removeRobolectricSetupScript
Dec 14, 2019
Merged

Update Robolectric setup#422
yogevbd merged 2 commits intomasterfrom
removeRobolectricSetupScript

Conversation

@rotemmiz
Copy link
Contributor

@rotemmiz rotemmiz commented Dec 12, 2019

Projects that depend on react-native-notifications trigger prepare-robolectric.gradle
which in turn downloads all of robolectric's dependencies
downloadRobolectricDependencies into {..}/android/build/robolectric-3.5.1-dependencies which takes close to two minutes (!!) on every build.

On newer robolectric version this issue is resolved and is handled internally, without a script.

This PR updates dependencies and specifically robolectric setup to stop leaking the setup script to dependant projects. It required update of gradle, plugins, and sdk targets to be able to compile the project (all were very old and not compatible with modern Android)

@rotemmiz rotemmiz requested a review from yogevbd as a code owner December 12, 2019 22:37
@yogevbd yogevbd merged commit e980745 into master Dec 14, 2019
@yogevbd yogevbd deleted the removeRobolectricSetupScript branch December 14, 2019 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants