From 04576db9759e3d9850b7313529963cacb92f6717 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Mon, 13 Dec 2021 03:32:10 -0500 Subject: [PATCH] fix: Fix extract tasks being added to clean tasks (#644) --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)