mirror of https://github.com/sbt/sbt.git
16 lines
496 B
Java
16 lines
496 B
Java
|
|
package xsbti.compile;
|
||
|
|
|
||
|
|
import java.io.File;
|
||
|
|
import xsbti.Logger;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Interface to a Java compiler.
|
||
|
|
*/
|
||
|
|
public interface JavaCompiler
|
||
|
|
{
|
||
|
|
/** Compiles Java sources using the provided classpath, output directory, and additional options.
|
||
|
|
* If supported, the number of reported errors should be limited to `maximumErrors`.
|
||
|
|
* Output should be sent to the provided logger.*/
|
||
|
|
void compile(File[] sources, File[] classpath, File outputDirectory, String[] options, int maximumErrors, Logger log);
|
||
|
|
}
|