TestOverridesRepo

mill.coursierutil.TestOverridesRepo
@Scaladoc(value = "/**\n * A `coursier.Repository` that exposes modules with hard-coded artifact list\n *\n * Used in Mill tests. This exposes internal workers for example, so that these\n * come from the build and not from remote repositories or ~/.ivy2/local. See\n * `MillJavaModule#{testTransitiveDeps,writeLocalTestOverrides}` in the Mill build.\n */")
object TestOverridesRepo extends Repository

A coursier.Repository that exposes modules with hard-coded artifact list

Used in Mill tests. This exposes internal workers for example, so that these come from the build and not from remote repositories or ~/.ivy2/local. See MillJavaModule#{testTransitiveDeps,writeLocalTestOverrides} in the Mill build.

Attributes

Source
TestOverridesRepo.scala
Graph
Supertypes
trait Repository
trait ArtifactSource
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

def artifacts(dependency: Dependency, project: Project, overrideClassifiers: Option[Seq[Classifier]]): Seq[(Publication, Artifact)]

Attributes

Source
TestOverridesRepo.scala
def find[F[_] : Monad](module: Module, version: String, fetch: () => F): EitherT[F, String, (ArtifactSource, Project)]

Attributes

Source
TestOverridesRepo.scala

Inherited methods

def completeOpt[F[_$$6] : Monad](fetch: () => F): Option[Complete[F]]

Attributes

Inherited from:
Repository
def find0[F[_$$1]](module: Module, version: Version, fetch: () => F)(implicit F: Monad[F]): EitherT[F, String, (ArtifactSource, Project)]

Attributes

Inherited from:
Repository
def findFromVersionConstraint[F[_$$5]](module: Module, versionConstraint: VersionConstraint, fetch: () => F)(implicit F: Monad[F]): EitherT[F, String, (ArtifactSource, Project)]

Attributes

Inherited from:
Repository
def repr: String

Attributes

Inherited from:
Repository
def versions[F[_$$8]](module: Module, fetch: () => F, versionsCheckHasModule: Boolean)(implicit F: Monad[F]): EitherT[F, String, (Versions, String)]

Attributes

Inherited from:
Repository
def versions[F[_$$7]](module: Module, fetch: () => F)(implicit F: Monad[F]): EitherT[F, String, (Versions, String)]

Attributes

Inherited from:
Repository
def versionsCheckHasModule: Boolean

Attributes

Inherited from:
Repository

Deprecated and Inherited methods

def findMaybeInterval[F[_$$4]](module: Module, version: String, fetch: () => F)(implicit F: Monad[F]): EitherT[F, String, (ArtifactSource, Project)]

Attributes

Deprecated
[Since version 2.1.25] Unused by coursier
Inherited from:
Repository
def findMaybeInterval[F[_$$3]](module: Module, version: VersionConstraint, fetch: () => F)(implicit F: Monad[F]): EitherT[F, String, (ArtifactSource, Project)]

Attributes

Deprecated
[Since version 2.1.25] Unused by coursier
Inherited from:
Repository