fix: Fix extract tasks being added to clean tasks (#644)

This commit is contained in:
Janic Duplessis 2021-12-13 03:32:10 -05:00 committed by GitHub
parent 138c3f9a9a
commit 04576db975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -466,7 +466,7 @@ extractJNIFiles.mustRunAfter extractAARHeaders
// pre-native build pipeline // pre-native build pipeline
tasks.whenTaskAdded { task -> 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(extractAARHeaders)
task.dependsOn(extractJNIFiles) task.dependsOn(extractJNIFiles)
task.dependsOn(prepareJSC) task.dependsOn(prepareJSC)