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{ ... }
- Alphabetic
- By Inheritance
- Cross
- Module
- Cacher
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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.
-
def
apply(arg0: Any, args: Any*): T
Fetch the cross module corresponding to the given cross values
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cachedTarget[T](t: ⇒ T)(implicit c: Enclosing): T
- Attributes
- protected[this]
- Definition Classes
- Cacher
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
get(args: Seq[Any]): T
Fetch the cross module corresponding to the given cross values
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val itemMap: Map[List[Any], T]
- val items: List[(List[Any], T)]
-
implicit
def
millModuleBasePath: BasePath
- Definition Classes
- Module
- lazy val millModuleDirectChildren: Seq[Module]
-
implicit
def
millModuleExternal: External
- Definition Classes
- Module
-
implicit
def
millModuleSegments: Segments
- Definition Classes
- Module
-
implicit
def
millModuleShared: Foreign
- Definition Classes
- Module
-
def
millOuterCtx: Ctx
- Definition Classes
- Module
-
def
millSourcePath: Path
- Definition Classes
- Module
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Module → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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