package scalalib
- Source
- package.scala
- Alphabetic
- By Inheritance
- scalalib
- JsonFormatters
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
Type Members
- case class Assembly(pathRef: api.PathRef, addedEntries: Int) extends Product with Serializable
- case class BoundDep(dep: coursier.Dependency, force: Boolean) extends Product with Serializable
Same as Dep but with already bound cross and platform settings.
- trait CoursierModule extends BaseClass with 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 BaseClass with ScalaModule with define.Cross.Module[String]
- trait CrossSbtModule extends BaseClass with SbtModule with CrossModuleBase
- trait CrossScalaModule extends BaseClass with ScalaModule with CrossModuleBase
A ScalaModule which is suited to be used with mill.define.Cross.
A ScalaModule which 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 BaseClass 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: coursier.Dependency, cross: CrossVersion, force: Boolean) extends Product with Serializable
- implicit class DepSyntax extends AnyRef
- trait GenIdeaModule extends BaseClass with Module
Module specific configuration of the Idea project file generator.
- class IvyDepsTreeArgs extends AnyRef
Arguments for the ivDepsTree command.
- trait JavaModule extends BaseClass with Module with WithZincWorker with JavaModuleBase with define.TaskModule with RunModule with GenIdeaModule with CoursierModule with OfflineSupportModule with BspModule with SemanticDbJavaModule
Core configuration required to compile a single Java compilation target
- trait JsonFormatters extends AnyRef
- trait MavenModule extends BaseClass 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 BaseClass with Module
- trait PlatformModuleBase extends BaseClass with JavaModule
- trait PlatformScalaModule extends BaseClass with ScalaModule
A ScalaModule intended for defining
.jvm
/.js
/.native
submodules It supports additional source directories per platform, e.g.A ScalaModule intended for defining
.jvm
/.js
/.native
submodules It supports additional source directories per platform, e.g.src-jvm/
orsrc-js/
and can be used inside a CrossScalaModule.Base, to get one source folder per platform per version e.g.src-2.12-jvm/
.Adjusts the millSourcePath and artifactNameParts to ignore the last path segment, which is assumed to be the name of the platform the module is built against and not something that should affect the filesystem path or artifact name
- trait PublishModule extends BaseClass with JavaModule
Configuration necessary for publishing a Scala module to Maven Central or similar
- trait RunModule extends BaseClass with WithZincWorker
- trait SbtModule extends BaseClass with ScalaModule with MavenModule
A ScalaModule with sbt compatible directory layout.
- trait ScalaModule extends BaseClass with JavaModule with ScalaModuleBase
Core configuration required to compile a single Scala compilation target
- trait SemanticDbJavaModule extends BaseClass with CoursierModule
- Annotations
- @experimental()
- trait TestModule extends BaseClass with JavaModuleBase with WithZincWorker with RunModule with define.TaskModule
- trait UnidocModule extends BaseClass with ScalaModule
Mix this in to any ScalaModule to provide a unidocSite target that can be used to build a unified scaladoc site for this module and all of its transitive dependencies
- 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.
- trait WithZincWorker extends BaseClass with define.Module
Common trait for modules that use either a custom or a globally shared ZincWorkerModule.
- trait ZincWorkerModule extends BaseClass with Module with OfflineSupportModule with CoursierModule
A module managing an in-memory Zinc Scala incremental compiler
Deprecated Type Members
- case class GenIdeaImpl(evaluator: Evaluator, ctx: Log with Home, rootModule: BaseModule, discover: Discover) extends Product with Serializable
This class is outdated and unmaintained.
This class is outdated and unmaintained. Please use mill.idea.GenIdeaImpl instead.
- Annotations
- @deprecated
- Deprecated
(Since version Mill 0.11.2) Use mill.idea.GenIdeaImpl instead
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[coursier.core.Dependency]
- Definition Classes
- JsonFormatters
- implicit lazy val depMgmtKeyFormat: upickle.default.ReadWriter[Key]
- Definition Classes
- JsonFormatters
- implicit lazy val depMgmtValuesFormat: upickle.default.ReadWriter[Values]
- Definition Classes
- JsonFormatters
- implicit lazy val exclusionDataFormat: upickle.default.ReadWriter[ExclusionData]
- Definition Classes
- JsonFormatters
- implicit lazy val extensionFormat: upickle.default.ReadWriter[Extension]
- Definition Classes
- JsonFormatters
- implicit lazy val minimizedExclusionsFormat: upickle.default.ReadWriter[MinimizedExclusions]
- 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 Assembly extends Serializable
- object BoundDep extends Serializable
- object CoursierModule
- object CrossVersion
- object Dep extends Serializable
- object Dependency extends ExternalModule
- object GenIdeaImpl extends Serializable
- object GenIdeaModule
- object IvyDepsTreeArgs
- object JsonFormatters extends JsonFormatters
- object Lib
- object PublishModule extends ExternalModule with TaskModule
- object RunModule
- object SemanticDbJavaModule
- object TestModule
- object UnresolvedPath
- object ZincWorkerModule extends ExternalModule with ZincWorkerModule with CoursierModule
A default implementation of ZincWorkerModule
Deprecated Value Members
- object GenIdea extends ExternalModule
- Annotations
- @deprecated
- Deprecated
(Since version Mill 0.11.2) Use mill.idea.GenIdea instead