diff --git a/patches/expo-modules-core+0.11.3.patch b/patches/expo-modules-core+0.11.3.patch index 389a8d08..73d83135 100644 --- a/patches/expo-modules-core+0.11.3.patch +++ b/patches/expo-modules-core+0.11.3.patch @@ -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]) {}