JvmCompileBtApiImpl

mill.kotlinlib.worker.impl.JvmCompileBtApiImpl
class JvmCompileBtApiImpl(val classpathSnapshotCache: Path) extends Compiler

Value parameters

classpathSnapshotCache

The path to store classpath snapshots for incremental compilation. Should live longer than the compile task itself, i.e. within a Worker or a persistent task.

Attributes

Source
JvmCompileBtApiImpl.scala
Graph
Supertypes
trait Compiler
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def compile(args: Seq[String], sources: Seq[Path], classpath: Seq[PathRef])(using ctx: TaskCtx): (Int, String)

Value parameters

args

Compiler arguments.

classpath

Compilation classpath, useful for incremental compilation.

sources

Source files to compile.

Attributes

Source
JvmCompileBtApiImpl.scala

Concrete fields