package scalalib
- Alphabetic
- By Inheritance
- scalalib
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait CoursierModule extends Module
This module provides the capability to resolve (transitive) dependencies from (remote) repositories.
This module provides the capability to resolve (transitive) dependencies from (remote) repositories.
It's mainly used in JavaModule, but can also be used stand-alone, in which case you must provide repositories by overriding CoursierModule.repositoriesTask.
- trait CrossModuleBase extends Module with ScalaModule
- trait CrossSbtModule extends Module with SbtModule with CrossModuleBase
- trait CrossScalaModule extends Module with ScalaModule with CrossModuleBase
A ScalaModule with is suited to be used with mill.define.Cross.
A ScalaModule with is suited to be used with mill.define.Cross. It supports additional source directories with the scala version pattern as suffix (
src-{scalaversionprefix}
), e.g. - src - src-2.11 - src-2.12.3 - trait CrossScalaVersionRanges extends Module with CrossModuleBase
Adds version range specific sources when mixed-in to a cross module like
CrossScalaModule
orCrossSbtModule
.Adds version range specific sources when mixed-in to a cross module like
CrossScalaModule
orCrossSbtModule
. It is useful when a Scala version specific breaking change requires two implementations of the same code for the cross versions before and after a specific version. For example, migrating to Scala 2.13 it is usually needed to define some version specific code for Scala 2.12- (all the versions less or equal 2.12) and for Scala 2.13+ (all the versions greater or equal to 2.13). MixingCrossScalaVersionRanges
into aCrossScalaModule
will automatically add thesrc-2.13+
andsrc-2.12-
, based on thecrossScalaVersion
. - sealed trait CrossVersion extends AnyRef
- case class Dep(dep: Dependency, cross: CrossVersion, force: Boolean) extends Product with Serializable
- implicit class DepSyntax extends AnyRef
- case class GenIdeaImpl(evaluator: Evaluator, ctx: Log with Home, rootModule: BaseModule, discover: Discover[_]) extends Product with Serializable
- trait GenIdeaModule extends Module
Module specific configuration of the Idea project file generator.
- trait JavaModule extends Module with TaskModule with GenIdeaModule with CoursierModule with OfflineSupportModule
Core configuration required to compile a single Java compilation target
- trait MavenModule extends Module with JavaModule
A JavaModule with a Maven compatible directory layout.
A JavaModule with a Maven compatible directory layout.
- See also
SbtModule if you need a scala module with Maven layout.
- trait OfflineSupportModule extends Module
- trait PublishModule extends Module with JavaModule
Configuration necessary for publishing a Scala module to Maven Central or similar
- trait SbtModule extends Module with ScalaModule with MavenModule
A ScalaModule with sbt compatible directory layout.
- trait ScalaModule extends Module with JavaModule
Core configuration required to compile a single Scala compilation target
- trait TestModule extends Module with JavaModule with TaskModule
- trait ZincWorkerModule extends Module with OfflineSupportModule
Value Members
- object CrossModuleBase
- object CrossVersion
- object Dep extends Serializable
- object Dependency extends ExternalModule
- object GenIdea extends ExternalModule
- object GenIdeaImpl extends Serializable
- object GenIdeaModule
- object Lib
- object PublishModule extends ExternalModule
- object TestModule
- object TestRunner
- object Versions
Dependency versions.
Dependency versions. Generated from mill in build.sc.
- object ZincWorkerModule extends ExternalModule with ZincWorkerModule with CoursierModule