class Cross[M <: define.Cross.Module[_]] extends BaseClass with 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")
trait FooModule extends Cross.Module[String]{
  ... crossValue ...
}
Source
Cross.scala
Linear Supertypes
Module, BaseClass, Cacher, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cross
  2. Module
  3. BaseClass
  4. Cacher
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Cross(factories: Factory[M]*)(implicit ctx: Ctx)

Type Members

  1. trait Item extends AnyRef

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 >: M <: Cross.Module[_]]()(implicit resolver: Resolver[V]): M

    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*): M

    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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. lazy val crossModules: Seq[M]

    A list of the cross modules, in the order the original cross values were given in

  10. def defaultCrossSegments: Seq[String]

    The default cross segments to use, when no cross value is specified.

    The default cross segments to use, when no cross value is specified. Defaults to the first cross value per cross level.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. def get(args: Seq[Any]): M

    Fetch the cross module corresponding to the given cross values

  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val items: List[Item]
  19. implicit def millModuleBasePath: BasePath
    Definition Classes
    Module
  20. lazy val millModuleDirectChildren: Seq[Module]
    Definition Classes
    CrossModule
  21. implicit def millModuleExternal: External
    Definition Classes
    Module
  22. implicit def millModuleSegments: Segments
    Definition Classes
    Module
  23. implicit def millModuleShared: Foreign
    Definition Classes
    Module
  24. def millOuterCtx: Ctx
    Definition Classes
    BaseClass
  25. def millSourcePath: Path
    Definition Classes
    Module
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. val segmentsToModules: MapView[List[String], M]

    A mapping of the string-ified string segments to the cross modules, in the order the original cross values were given in

  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    Module → AnyRef → Any
  32. val valuesToModules: MapView[List[Any], M]

    A mapping of the raw cross values to the cross modules, in the order the original cross values were given in

  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. 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
    Annotations
    @internal()

Inherited from Module

Inherited from BaseClass

Inherited from Cacher

Inherited from AnyRef

Inherited from Any

Ungrouped