-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dependency downloads on v3 (#3588)
## Description Fixes #3523 on v3 Fix for v2 comes with #3602 ## Changes Added `resolve<lib>` tasks. Each of them check whether `<lib>` is already downloaded by `:ReactAndroid` project - if so - they copy archive files to `reanimated` downloads directory -> this causes `download<lib>` tasks to not run, as they're up to date. To achieve this, setting dependency between `resolve<lib>` & `:ReactAndroid:download<lib>` was required. ## Test code and steps to reproduce I checked it on Reanimated v3: * [x] `FabricExample` - `rm -fr node_modules && yarn`, run the build for the first time, see that the libraries are downloaded only once by `:ReactAndroid` project. In consecutive builds libraries are not downloaded. * [x] `Example` - `rm -fr node_modules && yarn`, run the build for the first time, see that the libraries are downloaded by `:react-native-reanimated` project. In consecutive build libraries are not downloaded. * [x] Fresh React Native application (both archs) ## Checklist - [x] Ensured that CI passes
- Loading branch information
Showing
1 changed file
with
56 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters