fix: Fix gradle build with wrong task-name and order

This commit is contained in:
Marc Rousavy 2021-12-10 09:53:12 +01:00
parent 934de142ee
commit 1249cde337

View File

@ -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)