// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.build;

import org.jetbrains.annotations.ApiStatus;

import java.io.Closeable;

/**
 * @author Vladislav.Soroka
 */
@ApiStatus.Experimental
public interface BuildEventDispatcher extends Appendable, Closeable, BuildProgressListener {
  @Override
  BuildEventDispatcher append(CharSequence csq);

  @Override
  BuildEventDispatcher append(CharSequence csq, int start, int end);

  @Override
  BuildEventDispatcher append(char c);

  @Override
  void close();

  void setStdOut(boolean stdOut);
}

// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.build;

import org.jetbrains.annotations.ApiStatus;

import java.io.Closeable;

/**
 * @author Vladislav.Soroka
 */
@ApiStatus.Experimental
public interface BuildEventDispatcher extends Appendable, Closeable, BuildProgressListener {
  @Override
  default BuildEventDispatcher append(CharSequence csq) {return this;}

  @Override
  default BuildEventDispatcher append(CharSequence csq, int start, int end) {return this;}

  @Override
  default BuildEventDispatcher append(char c) {return this;}

  @Override
  default void close() {}

  default void setStdOut(boolean stdOut) {}
}

Build tw: fix fetching models of android projects w/o output parsing IDEA-209457
Build tw: fix fetching models of android projects w/o output parsing IDEA-209457

GitOrigin-RevId: 4476671907a478bebc377d3922d723f093c389f1