Lib

mill.javalib.Lib
object Lib

Utilities around managing JVM dependencies

Attributes

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

Members list

Value members

Concrete methods

def depToBoundDep(dep: Dep, scalaVersion: String, platformSuffix: String): BoundDep

Attributes

Source
Lib.scala
def depToDependency(dep: Dep, scalaVersion: String, platformSuffix: String): Dependency

Attributes

Source
Lib.scala
def depToDependencyJava(dep: Dep, platformSuffix: String): Dependency

Attributes

Source
Lib.scala
def findSourceFiles(sources: Seq[PathRef], extensions: Seq[String]): Seq[Path]

Attributes

Source
Lib.scala
def resolveDependencies(repositories: Seq[Repository], deps: IterableOnce[BoundDep], sources: Boolean, mapDependencies: Option[Dependency => Dependency], customizer: Option[Resolution => Resolution], ctx: Option[TaskCtx], coursierCacheCustomizer: Option[FileCache[Task] => FileCache[Task]], artifactTypes: Option[Set[Type]], resolutionParams: ResolutionParams, checkGradleModules: Boolean): Result[Seq[PathRef]]

Resolve dependencies using Coursier.

Resolve dependencies using Coursier.

We do not bother breaking this out into the separate JvmWorker classpath, because Coursier is already bundled with mill/Ammonite to support the //| mvnDeps syntax.

Attributes

Source
Lib.scala
def resolveDependenciesMetadataSafe(repositories: Seq[Repository], deps: IterableOnce[BoundDep], mapDependencies: Option[Dependency => Dependency], customizer: Option[Resolution => Resolution], ctx: Option[TaskCtx], coursierCacheCustomizer: Option[FileCache[Task] => FileCache[Task]], resolutionParams: ResolutionParams, boms: IterableOnce[BomDependency], checkGradleModules: Boolean): Result[Resolution]

Attributes

Source
Lib.scala
def scalaCompilerMvnDeps(scalaOrganization: String, scalaVersion: String): Seq[Dep]

Attributes

Source
Lib.scala
def scalaDocMvnDeps(scalaOrganization: String, scalaVersion: String): Seq[Dep]

Attributes

Source
Lib.scala
def scalaRuntimeMvnDeps(scalaOrganization: String, scalaVersion: String): Seq[Dep]

Attributes

Source
Lib.scala