mirror of https://github.com/sbt/sbt.git
15 lines
370 B
Scala
15 lines
370 B
Scala
package sbt
|
|
package compiler
|
|
|
|
import java.io.File
|
|
|
|
trait CompilerInterfaceProvider
|
|
{
|
|
def apply(scalaInstance: xsbti.compile.ScalaInstance, log: Logger): File
|
|
}
|
|
object CompilerInterfaceProvider
|
|
{
|
|
def constant(file: File): CompilerInterfaceProvider = new CompilerInterfaceProvider {
|
|
def apply(scalaInstance: xsbti.compile.ScalaInstance, log: Logger): File = file
|
|
}
|
|
} |