1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix Android building

https://github.com/expo/expo/pull/18518
This commit is contained in:
xmflsct
2022-08-14 18:06:24 +02:00
parent 4835ac291a
commit c6e7063929
3 changed files with 32 additions and 10 deletions

View File

@@ -0,0 +1,22 @@
diff --git a/node_modules/expo-modules-core/android/build.gradle b/node_modules/expo-modules-core/android/build.gradle
index a57c367..47c7bd6 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) {
}
// END FOLLy
-task prepareHermes() {
+task prepareHermes(dependsOn: createNativeDepsDirectories) {
if (!FOR_HERMES) {
return
}
@@ -444,7 +444,7 @@ afterEvaluate {
}
tasks.whenTaskAdded { task ->
- if (!task.name.contains("Clean") && (task.name.contains('externalNativeBuild') || task.name.startsWith('configureCMake'))) {
+ if (!task.name.contains("Clean") && (task.name.contains('externalNativeBuild'))) {
def buildType = task.name.endsWith('Debug') ? 'Debug' : 'Release'
task.dependsOn(extractAARHeaders)
task.dependsOn(extractJNIFiles)