Skip to content

Commit adf4c2d

Browse files
authored
Merge pull request #1222 from NativeScript/kddimitrov/fix-cyclic-task-dependency-error-with-firebase-plugin
fix: cyclic task dependency with nativescript-plugin-firebase plugin
2 parents a11ef23 + 9cbaab6 commit adf4c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-app/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ tasks.whenTaskAdded({ org.gradle.api.DefaultTask currentTask ->
369369
ensureMetadataOutDir.finalizedBy(buildMetadata)
370370
}
371371
if (currentTask =~ /merge.*Assets/) {
372-
currentTask.dependsOn(buildMetadata);
372+
currentTask.shouldRunAfter(buildMetadata);
373373
}
374374
if (currentTask =~ /assemble.*Debug/ || currentTask =~ /assemble.*Release/) {
375375
currentTask.finalizedBy("validateAppIdMatch")

0 commit comments

Comments
 (0)