package scalalib
- Alphabetic
- By Inheritance
- scalalib
- JsonFormatters
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
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.
- Annotations
- @Scaladoc()
- 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- Annotations
- @Scaladoc()
- 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
.- Annotations
- @Scaladoc()
- 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.
Module specific configuration of the Idea project file generator.
- Annotations
- @Scaladoc()
- trait JavaModule extends Module with TaskModule with GenIdeaModule with CoursierModule with OfflineSupportModule with BspModule
Core configuration required to compile a single Java compilation target
Core configuration required to compile a single Java compilation target
- Annotations
- @Scaladoc()
- trait JsonFormatters extends AnyRef
- trait MavenModule extends Module with JavaModule
A JavaModule with a Maven compatible directory layout.
A JavaModule with a Maven compatible directory layout.
- Annotations
- @Scaladoc()
- 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
Configuration necessary for publishing a Scala module to Maven Central or similar
- Annotations
- @Scaladoc()
- trait SbtModule extends Module with ScalaModule with MavenModule
A ScalaModule with sbt compatible directory layout.
A ScalaModule with sbt compatible directory layout.
- Annotations
- @Scaladoc()
- trait ScalaModule extends Module with JavaModule
Core configuration required to compile a single Scala compilation target
Core configuration required to compile a single Scala compilation target
- Annotations
- @Scaladoc()
- trait TestModule extends Module with JavaModule with TaskModule
- sealed trait UnresolvedPath extends AnyRef
An unresolved path is relative to some unspecified destination which depends on the actual configuration at evaluation time.
An unresolved path is relative to some unspecified destination which depends on the actual configuration at evaluation time. Hence, you need to call #resolve with an instance of mill.eval.EvaluatorPathsResolver to get the final os.Path.
- Annotations
- @Scaladoc()
- trait ZincWorkerModule extends Module with OfflineSupportModule
Value Members
- implicit lazy val attrFormat: upickle.default.ReadWriter[Attributes]
- Definition Classes
- JsonFormatters
- implicit lazy val classifierFormat: upickle.default.ReadWriter[Classifier]
- Definition Classes
- JsonFormatters
- implicit lazy val configurationFormat: upickle.default.ReadWriter[Configuration]
- Definition Classes
- JsonFormatters
- implicit lazy val depFormat: upickle.default.ReadWriter[Dependency]
- Definition Classes
- JsonFormatters
- implicit lazy val extensionFormat: upickle.default.ReadWriter[Extension]
- Definition Classes
- JsonFormatters
- implicit lazy val modFormat: upickle.default.ReadWriter[coursier.Module]
- Definition Classes
- JsonFormatters
- implicit lazy val modNameFormat: upickle.default.ReadWriter[ModuleName]
- Definition Classes
- JsonFormatters
- implicit lazy val orgFormat: upickle.default.ReadWriter[Organization]
- Definition Classes
- JsonFormatters
- implicit lazy val publicationFormat: upickle.default.ReadWriter[Publication]
- Definition Classes
- JsonFormatters
- implicit lazy val typeFormat: upickle.default.ReadWriter[Type]
- Definition Classes
- JsonFormatters
- object CrossModuleBase
- object CrossVersion
- object Dep extends Serializable
- object Dependency extends ExternalModule
- object GenIdea extends ExternalModule
- object GenIdeaImpl extends Serializable
- object GenIdeaModule
- object JsonFormatters extends JsonFormatters
- object Lib
- object PublishModule extends ExternalModule
- object TestModule
- object UnresolvedPath
- object Versions
Dependency versions.
Dependency versions. Generated from mill in build.sc.
- Annotations
- @Scaladoc()
- object ZincWorkerModule extends ExternalModule with ZincWorkerModule with CoursierModule