CoursierSupport

mill.util.CoursierSupport
See theCoursierSupport companion object

Attributes

Companion
object
Source
CoursierSupport.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Jvm

Members list

Value members

Concrete methods

def jvmIndex(ctx: Option[Log], coursierCacheCustomizer: Option[FileCache[Task] => FileCache[Task]]): JvmIndex

Attributes

Source
CoursierSupport.scala
def jvmIndex0(ctx: Option[Log], coursierCacheCustomizer: Option[FileCache[Task] => FileCache[Task]], jvmIndexVersion: String): Task[JvmIndex]

Attributes

Source
CoursierSupport.scala
@Scaladoc(value = "/**\n * Resolve dependencies using Coursier.\n *\n * We do not bother breaking this out into the separate ZincWorkerApi classpath,\n * because Coursier is already bundled with mill/Ammonite to support the\n * `import $ivy` syntax.\n */")
def resolveDependencies(repositories: Seq[Repository], deps: IterableOnce[Dependency], force: IterableOnce[Dependency], sources: Boolean, mapDependencies: Option[Dependency => Dependency], customizer: Option[Resolution => Resolution], ctx: Option[Log], coursierCacheCustomizer: Option[FileCache[Task] => FileCache[Task]], artifactTypes: Option[Set[Type]], resolutionParams: ResolutionParams): Result[Seq[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.

Attributes

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

Attributes

Source
CoursierSupport.scala
@Scaladoc(value = "/**\n * Resolve java home using Coursier.\n *\n * The id string has format \"$DISTRIBUTION:$VERSION\". e.g. graalvm-community:23.0.0\n */")
def resolveJavaHome(id: String, ctx: Option[Log], coursierCacheCustomizer: Option[FileCache[Task] => FileCache[Task]], jvmIndexVersion: String): Result[Path]

Resolve java home using Coursier.

Resolve java home using Coursier.

The id string has format "$DISTRIBUTION:$VERSION". e.g. graalvm-community:23.0.0

Attributes

Source
CoursierSupport.scala