Skip to content

Commit

Permalink
fix: Fix gradle build with wrong task-name and order
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Dec 10, 2021
1 parent 934de14 commit 1249cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/build.gradle
Expand Up @@ -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)
Expand Down

0 comments on commit 1249cde

Please sign in to comment.