KotlinWorkerImpl

mill.kotlinlib.worker.impl.KotlinWorkerImpl
class KotlinWorkerImpl(classpathSnapshotCache: Path, classpathSnapshotCacheIsStable: Boolean) extends KotlinWorker, AutoCloseable

Attributes

Source
KotlinWorkerImpl.scala
Graph
Supertypes
trait AutoCloseable
trait KotlinWorker
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def close(): Unit

Attributes

Definition Classes
AutoCloseable
Source
KotlinWorkerImpl.scala
def compile(target: KotlinWorkerTarget, useBtApi: Boolean, args: Seq[String], sources: Seq[Path], classpath: Seq[PathRef])(using ctx: TaskCtx): Result[Unit]

Compile the given sources.

Compile the given sources.

Value parameters

args

Compiler arguments.

classpath

Compilation classpath, useful for incremental compilation.

sources

Source files to compile.

useBtApi

Whether to use the Build Tools API. Only relevant for KotlinWorkerTarget.Jvm.

Attributes

Source
KotlinWorkerImpl.scala