Skip to content

Commit 3c9907a

Browse files
authored
fix: Prepend build on prepareHeaders task (#254)
1 parent 31bd374 commit 3c9907a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

android/gradle/fix-prefab.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ tasks.configureEach { task ->
88
if (matcher.matches()) {
99
def variantName = matcher[0][1]
1010
task.outputs.upToDateWhen { false }
11+
if (prepareHeaders) {
12+
task.dependsOn(prepareHeaders)
13+
}
1114
task.dependsOn("externalNativeBuild${variantName}")
1215
}
16+
1317
}
1418

1519
afterEvaluate {

0 commit comments

Comments
 (0)