Skip to content

Commit

Permalink
remove unnecessary duplicate 'dependsOn'
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy committed Mar 27, 2023
1 parent 970a74a commit 2166eb0
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,11 @@ private void registerTasks(Project project, QuarkusPluginExtension quarkusExt) {
t -> !quarkusExt.getCacheLargeArtifacts().get());
});

tasks.register(IMAGE_BUILD_TASK_NAME, ImageBuild.class,
task -> task.finalizedBy(quarkusBuildCacheableAppParts, quarkusBuildDependencies, quarkusBuild));
tasks.register(IMAGE_BUILD_TASK_NAME, ImageBuild.class, task -> task.finalizedBy(quarkusBuild));

tasks.register(IMAGE_PUSH_TASK_NAME, ImagePush.class,
task -> task.finalizedBy(quarkusBuildCacheableAppParts, quarkusBuildDependencies, quarkusBuild));
tasks.register(IMAGE_PUSH_TASK_NAME, ImagePush.class, task -> task.finalizedBy(quarkusBuild));

tasks.register(DEPLOY_TASK_NAME, Deploy.class,
task -> task.finalizedBy(quarkusBuildCacheableAppParts, quarkusBuildDependencies, quarkusBuild));
tasks.register(DEPLOY_TASK_NAME, Deploy.class, task -> task.finalizedBy(quarkusBuild));

TaskProvider<QuarkusDev> quarkusDev = tasks.register(QUARKUS_DEV_TASK_NAME, QuarkusDev.class, devRuntimeDependencies,
quarkusExt);
Expand Down

0 comments on commit 2166eb0

Please sign in to comment.