Skip to content

Commit

Permalink
Remove debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby committed Nov 24, 2024
1 parent 96c5987 commit 2aa2485
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ public abstract class LoggedExec extends DefaultTask implements FileSystemOperat
public Provider<String> getWorkingDirPath() {
return getWorkingDir().map(file -> {
String relativeWorkingDir = projectLayout.getProjectDirectory().getAsFile().toPath().relativize(file.toPath()).toString();
System.out.println("relativeWorkingDir = " + relativeWorkingDir);
return relativeWorkingDir;
});
}
Expand Down Expand Up @@ -149,13 +148,6 @@ private void setupDefaultEnvironment(ProviderFactory providerFactory) {

@TaskAction
public void run() {
String executable = getExecutable().get();
System.out.println("executable = " + executable);
List<Object> args = getArgs().get();
System.out.println("args = " + args);
Map<String, String> 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.");
Expand Down

0 comments on commit 2aa2485

Please sign in to comment.