From 2aa248545b207f8c2676dad64ee7ff0aec78922b Mon Sep 17 00:00:00 2001 From: Rene Groeschke Date: Sun, 24 Nov 2024 17:01:32 +0100 Subject: [PATCH] Remove debug output --- .../main/java/org/elasticsearch/gradle/LoggedExec.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build-tools/src/main/java/org/elasticsearch/gradle/LoggedExec.java b/build-tools/src/main/java/org/elasticsearch/gradle/LoggedExec.java index 270af2b0af70b..811a2ee6ccc1c 100644 --- a/build-tools/src/main/java/org/elasticsearch/gradle/LoggedExec.java +++ b/build-tools/src/main/java/org/elasticsearch/gradle/LoggedExec.java @@ -93,7 +93,6 @@ public abstract class LoggedExec extends DefaultTask implements FileSystemOperat public Provider getWorkingDirPath() { return getWorkingDir().map(file -> { String relativeWorkingDir = projectLayout.getProjectDirectory().getAsFile().toPath().relativize(file.toPath()).toString(); - System.out.println("relativeWorkingDir = " + relativeWorkingDir); return relativeWorkingDir; }); } @@ -149,13 +148,6 @@ private void setupDefaultEnvironment(ProviderFactory providerFactory) { @TaskAction public void run() { - String executable = getExecutable().get(); - System.out.println("executable = " + executable); - List args = getArgs().get(); - System.out.println("args = " + args); - Map stringStringMap = getEnvironment().get(); - System.out.println("env = " + stringStringMap); - boolean spoolOutput = getSpoolOutput().get(); if (spoolOutput && getCaptureOutput().get()) { throw new GradleException("Capturing output is not supported when spoolOutput is true.");