From 2166eb0ab6a87e73bfb868fbd3de09d950dd6eab Mon Sep 17 00:00:00 2001 From: Robert Stupp Date: Tue, 7 Mar 2023 14:32:45 +0100 Subject: [PATCH] remove unnecessary duplicate 'dependsOn' --- .../src/main/java/io/quarkus/gradle/QuarkusPlugin.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java index e83d4114472d5..4ce154b14f675 100644 --- a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java +++ b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java @@ -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 = tasks.register(QUARKUS_DEV_TASK_NAME, QuarkusDev.class, devRuntimeDependencies, quarkusExt);