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() @HotSpotIntrinsicCandidate() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def get(args: Seq[Any]): T

    Fetch the cross module corresponding to the given cross values

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Module

Inherited from Cacher

Inherited from AnyRef

Inherited from Any

Ungrouped