Include .h file as well
This commit is contained in:
@@ -74,13 +74,13 @@ task prepareDoubleConversion(dependsOn: [downloadDoubleConversion], type: Copy)
|
|||||||
task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) {
|
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'
|
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
|
onlyIfNewer true
|
||||||
overwrite false
|
overwrite true
|
||||||
dest new File(downloadsDir, 'boost_1_63_0.tar.gz')
|
dest new File(downloadsDir, 'boost_1_63_0.tar.gz')
|
||||||
}
|
}
|
||||||
|
|
||||||
task prepareBoost(dependsOn: [downloadBoost], type: Copy) {
|
task prepareBoost(dependsOn: [downloadBoost], type: Copy) {
|
||||||
from tarTree(resources.gzip(downloadBoost.dest))
|
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
|
includeEmptyDirs = false
|
||||||
into "$thirdPartyNdkDir/boost"
|
into "$thirdPartyNdkDir/boost"
|
||||||
doLast {
|
doLast {
|
||||||
|
|||||||
Reference in New Issue
Block a user