Packages

object Jvm

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Jvm
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class JarManifest(main: Map[String, String] = Map.empty, groups: Map[String, Map[String, String]] = Map.empty) extends Product with Serializable

    Represents a JAR manifest.

    Represents a JAR manifest.

    main

    the main manifest attributes

    groups

    additional attributes for named entries

  2. class TickerResolutionLogger extends CacheLogger

    A Coursier Cache.Logger implementation that updates the ticker with the count and overall byte size of artifacts being downloaded.

    A Coursier Cache.Logger implementation that updates the ticker with the count and overall byte size of artifacts being downloaded.

    In practice, this ticker output gets prefixed with the current target for which dependencies are being resolved, using a mill.util.ProxyLogger subclass.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def callSubprocess(mainClass: String, classPath: api.Loose.Agg[Path], jvmArgs: Seq[String] = Seq.empty, envArgs: Map[String, String] = Map.empty, mainArgs: Seq[String] = Seq.empty, workingDir: Path = null, streamOut: Boolean = true)(implicit ctx: Ctx): CommandResult

    Runs a JVM subprocess with the given configuration and returns a os.CommandResult with it's aggregated output and error streams

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def createAssembly(inputPaths: api.Loose.Agg[Path], manifest: JarManifest = JarManifest.Default, prependShellScript: String = "", base: Option[Path] = None, assemblyRules: Seq[Rule] = Assembly.defaultRules)(implicit ctx: Dest with Log): eval.PathRef
  8. def createJar(inputPaths: api.Loose.Agg[Path], manifest: JarManifest = JarManifest.Default, fileFilter: (Path, RelPath) => Boolean = (p: os.Path, r: os.RelPath) => true)(implicit ctx: Dest): eval.PathRef

    Create a jar file containing all files from the specified input Paths, called out.jar in the implicit ctx.dest folder.

    Create a jar file containing all files from the specified input Paths, called out.jar in the implicit ctx.dest folder. An optional main class may be provided for the jar. An optional filter function may also be provided to selectively include/exclude specific files.

    inputPaths

    - Agg of os.Paths containing files to be included in the jar

    fileFilter

    - optional file filter to select files to be included. Given a os.Path (from inputPaths) and a os.RelPath for the individual file, return true if the file is to be included in the jar.

    ctx

    - implicit Ctx.Dest used to determine the output directory for the jar.

    returns

    - a PathRef for the created jar.

  9. def createLauncher(mainClass: String, classPath: api.Loose.Agg[Path], jvmArgs: Seq[String])(implicit ctx: Dest): api.PathRef
  10. def createManifest(mainClass: Option[String]): JarManifest
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def inprocess[T](classPath: api.Loose.Agg[Path], classLoaderOverrideSbtTesting: Boolean, isolated: Boolean, closeContextClassLoaderWhenDone: Boolean, body: (ClassLoader) => T)(implicit ctx: Home): T
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def launcherUniversalScript(mainClass: String, shellClassPath: api.Loose.Agg[String], cmdClassPath: api.Loose.Agg[String], jvmArgs: Seq[String], shebang: Boolean = false): String
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def resolveDependencies(repositories: Seq[Repository], deps: TraversableOnce[Dependency], force: TraversableOnce[Dependency], sources: Boolean = false, mapDependencies: Option[(Dependency) => Dependency] = None, ctx: Option[Log] = None): Result[api.Loose.Agg[eval.PathRef]]

    Resolve dependencies using Coursier.

    Resolve dependencies using Coursier.

    We do not bother breaking this out into the separate ZincWorkerApi classpath, because Coursier is already bundled with mill/Ammonite to support the import $ivy syntax.

  22. def resolveDependenciesMetadata(repositories: Seq[Repository], deps: TraversableOnce[Dependency], force: TraversableOnce[Dependency], mapDependencies: Option[(Dependency) => Dependency] = None, ctx: Option[Log] = None): (Seq[Dependency], Resolution)
  23. def runLocal(mainClass: String, classPath: api.Loose.Agg[Path], mainArgs: Seq[String] = Seq.empty)(implicit ctx: Ctx): Unit
  24. def runSubprocess(commandArgs: Seq[String], envArgs: Map[String, String], workingDir: Path): Unit

    Runs a generic subprocess and waits for it to terminate.

  25. def runSubprocess(mainClass: String, classPath: api.Loose.Agg[Path], jvmArgs: Seq[String] = Seq.empty, envArgs: Map[String, String] = Map.empty, mainArgs: Seq[String] = Seq.empty, workingDir: Path = null, background: Boolean = false): Unit

    Runs a JVM subprocess with the given configuration and streams it's stdout and stderr to the console.

  26. def spawnSubprocess(commandArgs: Seq[String], envArgs: Map[String, String], workingDir: Path): SubProcess

    Spawns a generic subprocess, streaming the stdout and stderr to the console.

    Spawns a generic subprocess, streaming the stdout and stderr to the console. If the System.out/System.err have been substituted, makes sure that the subprocess's stdout and stderr streams go to the subtituted streams

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def universalScript(shellCommands: String, cmdCommands: String, shebang: Boolean = false): String
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. object JarManifest extends Serializable

Deprecated Value Members

  1. def baseInteractiveSubprocess(commandArgs: Seq[String], envArgs: Map[String, String], workingDir: Path): Unit
    Annotations
    @deprecated
    Deprecated

    Use runSubprocess instead

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped