Further patch expo-modules-core

According to this commit dee397b9ed
This commit is contained in:
xmflsct 2022-08-15 23:00:46 +02:00
parent 2def45a6b9
commit fc33ded4b3
1 changed files with 17 additions and 3 deletions

View File

@ -1,13 +1,27 @@
diff --git a/node_modules/expo-modules-core/android/build.gradle b/node_modules/expo-modules-core/android/build.gradle
index a57c367..130a94f 100644
index a57c367..13b4427 100644
--- a/node_modules/expo-modules-core/android/build.gradle
+++ b/node_modules/expo-modules-core/android/build.gradle
@@ -422,7 +422,7 @@ task prepareFolly(dependsOn: [downloadFolly], type: Copy) {
@@ -422,18 +422,16 @@ task prepareFolly(dependsOn: [downloadFolly], type: Copy) {
}
// END FOLLy
-task prepareHermes() {
+task prepareHermes(dependsOn: createNativeDepsDirectories) {
+task prepareHermes(dependsOn: createNativeDepsDirectories, type: Copy) {
if (!FOR_HERMES) {
return
}
def soFiles = zipTree(HERMES_AAR).matching({ it.include "**/*.so" })
- copy {
- from soFiles
- from "$REACT_NATIVE_DIR/ReactAndroid/src/main/jni/first-party/hermes/Android.mk"
- into "$thirdPartyNdkDir/hermes"
- }
+ from soFiles
+ from "$REACT_NATIVE_DIR/ReactAndroid/src/main/jni/first-party/hermes/Android.mk"
+ into "$thirdPartyNdkDir/hermes"
}
task prepareThirdPartyNdkHeaders(dependsOn: [prepareBoost, prepareDoubleConversion, prepareFolly, prepareHermes]) {}