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)