From 992106fe49aff4bb02521fb2bbabc6aba718b9d1 Mon Sep 17 00:00:00 2001 From: Sam Snyder Date: Wed, 30 Aug 2023 15:24:21 -0700 Subject: [PATCH] Remove progress bar updating from resolve rewrite dependencies task --- .../gradle/ResolveRewriteDependenciesTask.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/plugin/src/main/java/org/openrewrite/gradle/ResolveRewriteDependenciesTask.java b/plugin/src/main/java/org/openrewrite/gradle/ResolveRewriteDependenciesTask.java index c51b6106d..2cd0f2858 100755 --- a/plugin/src/main/java/org/openrewrite/gradle/ResolveRewriteDependenciesTask.java +++ b/plugin/src/main/java/org/openrewrite/gradle/ResolveRewriteDependenciesTask.java @@ -28,10 +28,6 @@ import org.gradle.api.model.ObjectFactory; import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.TaskAction; -import org.openrewrite.internal.StringUtils; -import org.openrewrite.polyglot.NoopProgressBar; -import org.openrewrite.polyglot.ProgressBar; -import org.openrewrite.polyglot.RemoteProgressBarSender; import java.io.File; import java.util.Arrays; @@ -118,11 +114,6 @@ public Set getResolvedDependencies() { @TaskAction void run() { - String cliPort = System.getenv("MODERNE_CLI_PORT"); - try (ProgressBar progressBar = StringUtils.isBlank(cliPort) ? new NoopProgressBar() : - new RemoteProgressBarSender(Integer.parseInt(cliPort))) { - progressBar.setExtraMessage(":" + getProject().getName() + ":" + getName()); - getResolvedDependencies(); - } + getResolvedDependencies(); } }