Closed reinismu closed 1 year ago
hi there! i'm sorry this would be an known issue. you could add REACT_NATIVE_DOWNLOADS_DIR
environment variable to some local path for keeping the boost tarball, next time gradle will not download it again when cache hit. i.e.
REACT_NATIVE_DOWNLOADS_DIR=$HOME/REACT_NATIVE_DOWNLOADS_DIR ./gradlew :app:assembleDebug
Why is it not cached by default? I'm pretty sure CMake can do that
the default folder to store the downloaded tarball is node_modules/react-native-v8/android/build
. if you run clean build or npm install again to purge the build folder, gradle download plugin will download the tarball again.
It takes around 2 hours for it to download every time I build...
Has anyone noticed this as well? Is there a way to change url where it is downloading it from?