MillBuildBootstrap

mill.daemon.MillBuildBootstrap
See theMillBuildBootstrap companion class

Attributes

Companion
class
Source
MillBuildBootstrap.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def bootstrapInstantiateOnly(buildFileApi: BuildFileApi): (Result[Seq[Any]], Seq[Watchable], Seq[Watchable])

Bootstrap-only mode: skip user-task evaluation entirely. Used by BSP/IDE/Eclipse, which need the evaluators but no task output. Module <clinit> watches accumulate in BuildCtx.watchedValues lazily as subsequent BSP requests instantiate the modules they touch, so we don't need to eagerly walk the module tree here.

Bootstrap-only mode: skip user-task evaluation entirely. Used by BSP/IDE/Eclipse, which need the evaluators but no task output. Module <clinit> watches accumulate in BuildCtx.watchedValues lazily as subsequent BSP requests instantiate the modules they touch, so we don't need to eagerly walk the module tree here.

Attributes

Source
MillBuildBootstrap.scala
def classpath(classLoader: ClassLoader): Vector[Path]

Attributes

Source
MillBuildBootstrap.scala
def computeRequestedDepth(requestedMetaLevel: Option[Int], depth: Int, framesSize: Int): Int

Attributes

Source
MillBuildBootstrap.scala
def containsBuildFile(root: Path): Boolean

Attributes

Source
MillBuildBootstrap.scala
def evaluateWithWatches(buildFileApi: BuildFileApi, evaluator: EvaluatorApi, tasksAndParams: Seq[String], selectiveExecution: Boolean, reporter: Int => Option[CompileProblemReporter]): (Result[Seq[Any]], Seq[Watchable], Seq[Watchable])

Attributes

Source
MillBuildBootstrap.scala
def getRootModule(runClassLoader: URLClassLoader): Result[BuildFileApi]

Attributes

Source
MillBuildBootstrap.scala
def invalidLevelMsg(requestedMetaLevel: Option[Int], framesSize: Int): String

Attributes

Source
MillBuildBootstrap.scala
def makeEvaluator0(projectRoot: Path, output: Path, keepGoing: Boolean, env: Map[String, String], logger: Logger, ec: Option[ThreadPoolExecutor], allowPositionalCommandArgs: Boolean, systemExit: StopServer, streams0: SystemStreams, selectiveExecution: Boolean, offline: Boolean, useFileLocks: Boolean, workspaceLocking: LauncherLocking, runArtifacts: LauncherOutFiles, workerCache: Map[String, (Int, Val, TaskApi[_])], codeSignatures: Map[String, Int], spanningInvalidationTree: Option[String], rootModule: RootModuleApi, millClassloaderSigHash: Int, millClassloaderIdentityHash: Int, depth: Int, actualBuildFileName: Option[String] = ..., enableTicker: Boolean, staticBuildOverrideFiles: Map[Path, String]): EvaluatorApi

Attributes

Source
MillBuildBootstrap.scala
def prepareMillBootClasspath(millBuildBase: Path): Seq[Path]

Attributes

Source
MillBuildBootstrap.scala
def recOut(output: Path, depth: Int): Path

Attributes

Source
MillBuildBootstrap.scala
def recRoot(projectRoot: Path, depth: Int): Path

Attributes

Source
MillBuildBootstrap.scala
def tryReadParent(currentRoot: Path, fileName: String): Option[(Path, String)]

Attributes

Source
MillBuildBootstrap.scala