fix: Fix extract tasks being added to clean tasks (#644)
This commit is contained in:
parent
138c3f9a9a
commit
04576db975
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user