ZincUtil

object ZincUtil

Define a private implementation of the static methods forwarded from ZincCompilerUtil.

class Object
trait Matchable
class Any

Value members

Concrete methods

def compilers(instance: ScalaInstance, classpathOptions: ClasspathOptions, javaHome: Option[Path], scalac: ScalaCompiler): Compilers
def compilers(javaTools: JavaTools, scalac: ScalaCompiler): Compilers
def constantBridgeProvider(scalaInstance: ScalaInstance, compilerBridgeJar: Path): CompilerBridgeProvider
def constantBridgeProvider(scalaInstance: ScalaInstance, compilerBridgeJar: File): CompilerBridgeProvider
def defaultIncrementalCompiler: IncrementalCompiler

Return a fully-fledged, default incremental compiler ready to use.

Return a fully-fledged, default incremental compiler ready to use.

def scalaCompiler(scalaInstance: ScalaInstance, compilerBridgeJar: Path, classpathOptions: ClasspathOptions): AnalyzingCompiler

Instantiate a Scala compiler that is instrumented to analyze dependencies. This Scala compiler is useful to create your own instance of incremental compilation.

Instantiate a Scala compiler that is instrumented to analyze dependencies. This Scala compiler is useful to create your own instance of incremental compilation.

Value parameters:
classpathOptions

The options of all the classpath that the compiler takes in.

compilerBridgeJar

The jar file or directory of the compiler bridge compiled for the given scala instance.

scalaInstance

The Scala instance to be used.

Returns:

A Scala compiler ready to be used.

See also:

IncrementalCompiler for more details on creating your custom incremental compiler.

def scalaCompiler(scalaInstance: ScalaInstance, compilerBridgeJar: File, classpathOptions: ClasspathOptions): AnalyzingCompiler

Instantiate a Scala compiler that is instrumented to analyze dependencies. This Scala compiler is useful to create your own instance of incremental compilation.

Instantiate a Scala compiler that is instrumented to analyze dependencies. This Scala compiler is useful to create your own instance of incremental compilation.

Value parameters:
classpathOptions

The options of all the classpath that the compiler takes in.

compilerBridgeJar

The jar file or directory of the compiler bridge compiled for the given scala instance.

scalaInstance

The Scala instance to be used.

Returns:

A Scala compiler ready to be used.

See also:

IncrementalCompiler for more details on creating your custom incremental compiler.

def scalaCompiler(scalaInstance: ScalaInstance, compilerBridgeJar: Path): AnalyzingCompiler

Instantiate a Scala compiler that is instrumented to analyze dependencies. This Scala compiler is useful to create your own instance of incremental compilation.

Instantiate a Scala compiler that is instrumented to analyze dependencies. This Scala compiler is useful to create your own instance of incremental compilation.

Value parameters:
compilerBridgeJar

The jar file or directory of the compiler bridge compiled for the given scala instance.

scalaInstance

The Scala instance to be used.

Returns:

A Scala compiler ready to be used.

See also:

IncrementalCompiler for more details on creating your custom incremental compiler.

def scalaCompiler(scalaInstance: ScalaInstance, compilerBridgeJar: File): AnalyzingCompiler

Instantiate a Scala compiler that is instrumented to analyze dependencies. This Scala compiler is useful to create your own instance of incremental compilation.

Instantiate a Scala compiler that is instrumented to analyze dependencies. This Scala compiler is useful to create your own instance of incremental compilation.

Value parameters:
compilerBridgeJar

The jar file or directory of the compiler bridge compiled for the given scala instance.

scalaInstance

The Scala instance to be used.

Returns:

A Scala compiler ready to be used.

See also:

IncrementalCompiler for more details on creating your custom incremental compiler.