diff --git a/android/build.gradle b/android/build.gradle index 081b1e5..2f34c11 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.contains('externalNative') || task.name.contains('CMake')) { + if (!task.name.contains('Clean') && (task.name.contains('externalNative') || task.name.contains('CMake'))) { task.dependsOn(extractAARHeaders) task.dependsOn(extractJNIFiles) task.dependsOn(prepareJSC)