class Cross[T] extends Module

Models "cross-builds": sets of duplicate builds which differ only in the value of one or more "case" variables whose values are determined at runtime. Used via:

object foo extends Cross[FooModule]("bar", "baz", "qux") class FooModule(v: String) extends Module{ ... }

Linear Supertypes
Module, Cacher, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cross
  2. Module
  3. Cacher
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Cross(cases: Any*)(implicit ci: Factory[T], ctx: Ctx)

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. def apply[V >: T]()(implicit resolver: Resolver[V]): T

    Fetch the relevant cross module given the implicit resolver you have in scope.

    Fetch the relevant cross module given the implicit resolver you have in scope. This is often the first cross module whose cross-version is compatible with the current module.

  5. def apply(arg0: Any, args: Any*): T

    Fetch the cross module corresponding to the given cross values

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def cachedTarget[T](t: ⇒ T)(implicit c: Enclosing): T
    Attributes
    protected[this]
    Definition Classes
    Cacher
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def get(args: Seq[Any]): T

    Fetch the cross module corresponding to the given cross values

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val itemMap: Map[List[Any], T]
  17. val items: List[(List[Any], T)]
  18. implicit def millModuleBasePath: BasePath
    Definition Classes
    Module
  19. lazy val millModuleDirectChildren: Seq[Module]
    Definition Classes
    CrossModule
  20. implicit def millModuleExternal: External
    Definition Classes
    Module
  21. implicit def millModuleSegments: Segments
    Definition Classes
    Module
  22. implicit def millModuleShared: Foreign
    Definition Classes
    Module
  23. def millOuterCtx: Ctx
    Definition Classes
    Module
  24. def millSourcePath: Path
    Definition Classes
    Module
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    Module → AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  33. object millInternal extends Internal

    Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

    Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

    Definition Classes
    Module

Inherited from Module

Inherited from Cacher

Inherited from AnyRef

Inherited from Any

Ungrouped