KotlinWorker

mill.kotlinlib.worker.api.KotlinWorker
trait KotlinWorker

Attributes

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

Members list

Value members

Abstract methods

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
KotlinWorker.scala