void ( @NotNull LongRunningOperation operation, @NotNull GradleExecutionSettings settings, @NotNull ExternalSystemTaskId id, @NotNull ExternalSystemTaskNotificationListener listener ) { operation.setStandardOutput(new OutputWrapper(listener, id, true)); operation.setStandardError(new OutputWrapper(listener, id, false)); InputStream inputStream = settings.getUserData(ExternalSystemRunConfiguration.RUN_INPUT_KEY); if (inputStream != null) { operation.setStandardInput(inputStream); } }