diff --git a/android/build.gradle b/android/build.gradle index a50f62218..a5c7524b0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -74,13 +74,13 @@ task prepareDoubleConversion(dependsOn: [downloadDoubleConversion], type: Copy) task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) { src 'https://github.com/react-native-community/boost-for-react-native/releases/download/v1.63.0-0/boost_1_63_0.tar.gz' onlyIfNewer true - overwrite false + overwrite true dest new File(downloadsDir, 'boost_1_63_0.tar.gz') } task prepareBoost(dependsOn: [downloadBoost], type: Copy) { from tarTree(resources.gzip(downloadBoost.dest)) - include 'boost_1_63_0/boost/**/*.hpp', 'boost/boost/**/*.hpp' + include 'boost_1_63_0/boost/**/*.hpp', 'boost_1_63_0/boost/**/*.h', 'boost/boost/**/*.hpp', 'boost/boost/**/*.h' includeEmptyDirs = false into "$thirdPartyNdkDir/boost" doLast {