Skip to content

Commit

Permalink
Add dependsOn
Browse files Browse the repository at this point in the history
Signed-off-by: pgodithi <[email protected]>
  • Loading branch information
prudhvigodithi committed May 5, 2022
1 parent b7c93f0 commit fa56ddd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ public void apply(Project project) {
configMaven(project);
Task validatePluginZipPom = project.getTasks().findByName("validatePluginZipPom");
if (validatePluginZipPom != null) {
project.getTasks().getByName("validatePluginZipPom").mustRunAfter("generatePomFileForNebulaPublication");
project.getTasks().getByName("validatePluginZipPom").dependsOn("generatePomFileForNebulaPublication");
}
Task publishPluginZipPublicationToZipStagingRepository = project.getTasks()
.findByName("publishPluginZipPublicationToZipStagingRepository");
if (validatePluginZipPom != null) {
project.getTasks()
.getByName("publishPluginZipPublicationToZipStagingRepository")
.mustRunAfter("generatePomFileForNebulaPublication");
.dependsOn("generatePomFileForNebulaPublication");
}
});
}
Expand Down

0 comments on commit fa56ddd

Please sign in to comment.