From 1249cde3371ad6095528aee947b9d779135e640a Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Fri, 10 Dec 2021 09:53:12 +0100 Subject: [PATCH] fix: Fix gradle build with wrong task-name and order --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index f3ffea4..081b1e5 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -466,7 +466,7 @@ extractJNIFiles.mustRunAfter extractAARHeaders // pre-native build pipeline tasks.whenTaskAdded { task -> - if (task.name == 'externalNativeBuildDebug' || task.name == 'externalNativeBuildRelease') { + if (task.name.contains('externalNative') || task.name.contains('CMake')) { task.dependsOn(extractAARHeaders) task.dependsOn(extractJNIFiles) task.dependsOn(prepareJSC)