Packages

p

mill

scalalib

package scalalib

Source
package.scala
Linear Supertypes
JsonFormatters, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scalalib
  2. JsonFormatters
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package api
  2. package bsp
  3. package dependency
  4. package giter8
  5. package internal
  6. package publish
  7. package scalafmt

Type Members

  1. case class BoundDep(dep: coursier.Dependency, force: Boolean) extends Product with Serializable

    Same as Dep but with already bound cross and platform settings.

  2. 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.

  3. trait CrossModuleBase extends BaseClass with ScalaModule with define.Cross.Module[String]
  4. trait CrossSbtModule extends BaseClass with SbtModule with CrossModuleBase
  5. 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

  6. trait CrossScalaVersionRanges extends BaseClass with CrossModuleBase

    Adds version range specific sources when mixed-in to a cross module like CrossScalaModule or CrossSbtModule.

    Adds version range specific sources when mixed-in to a cross module like CrossScalaModule or CrossSbtModule. 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). Mixing CrossScalaVersionRanges into a CrossScalaModule will automatically add the src-2.13+ and src-2.12-, based on the crossScalaVersion.

  7. sealed trait CrossVersion extends AnyRef
  8. case class Dep(dep: coursier.Dependency, cross: CrossVersion, force: Boolean) extends Product with Serializable
  9. implicit class DepSyntax extends AnyRef
  10. trait GenIdeaModule extends BaseClass with Module

    Module specific configuration of the Idea project file generator.

  11. class IvyDepsTreeArgs extends AnyRef

    Arguments for the ivDepsTree command.

  12. 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

  13. trait JsonFormatters extends AnyRef
  14. 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.

  15. trait OfflineSupportModule extends BaseClass with Module
  16. 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/ or src-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

  17. trait PublishModule extends BaseClass with JavaModule

    Configuration necessary for publishing a Scala module to Maven Central or similar

  18. trait RunModule extends BaseClass with WithZincWorker
  19. trait SbtModule extends BaseClass with ScalaModule with MavenModule

    A ScalaModule with sbt compatible directory layout.

  20. trait ScalaModule extends BaseClass with JavaModule with ScalaModuleBase

    Core configuration required to compile a single Scala compilation target

  21. trait SemanticDbJavaModule extends BaseClass with CoursierModule
    Annotations
    @experimental()
  22. trait TestModule extends BaseClass with JavaModuleBase with WithZincWorker with RunModule with define.TaskModule
  23. 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

  24. 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.

  25. trait WithZincWorker extends BaseClass with define.Module

    Common trait for modules that use either a custom or a globally shared ZincWorkerModule.

  26. trait ZincWorkerModule extends BaseClass with Module with OfflineSupportModule

    A module managing an in-memory Zinc Scala incremental compiler

Deprecated Type Members

  1. 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

  1. implicit lazy val attrFormat: upickle.default.ReadWriter[Attributes]
    Definition Classes
    JsonFormatters
  2. implicit lazy val classifierFormat: upickle.default.ReadWriter[Classifier]
    Definition Classes
    JsonFormatters
  3. implicit lazy val configurationFormat: upickle.default.ReadWriter[Configuration]
    Definition Classes
    JsonFormatters
  4. implicit lazy val depFormat: upickle.default.ReadWriter[coursier.core.Dependency]
    Definition Classes
    JsonFormatters
  5. implicit lazy val exclusionDataFormat: upickle.default.ReadWriter[ExclusionData]
    Definition Classes
    JsonFormatters
  6. implicit lazy val extensionFormat: upickle.default.ReadWriter[Extension]
    Definition Classes
    JsonFormatters
  7. implicit lazy val minimizedExclusionsFormat: upickle.default.ReadWriter[MinimizedExclusions]
    Definition Classes
    JsonFormatters
  8. implicit lazy val modFormat: upickle.default.ReadWriter[coursier.Module]
    Definition Classes
    JsonFormatters
  9. implicit lazy val modNameFormat: upickle.default.ReadWriter[ModuleName]
    Definition Classes
    JsonFormatters
  10. implicit lazy val orgFormat: upickle.default.ReadWriter[Organization]
    Definition Classes
    JsonFormatters
  11. implicit lazy val publicationFormat: upickle.default.ReadWriter[Publication]
    Definition Classes
    JsonFormatters
  12. implicit lazy val typeFormat: upickle.default.ReadWriter[Type]
    Definition Classes
    JsonFormatters
  13. object Assembly
  14. object BoundDep extends Serializable
  15. object CrossVersion
  16. object Dep extends Serializable
  17. object Dependency extends ExternalModule
  18. object GenIdeaImpl extends Serializable
  19. object GenIdeaModule
  20. object IvyDepsTreeArgs
  21. object JsonFormatters extends JsonFormatters
  22. object Lib
  23. object PublishModule extends ExternalModule
  24. object SemanticDbJavaModule
  25. object TestModule
  26. object UnresolvedPath
  27. object ZincWorkerModule extends ExternalModule with ZincWorkerModule with CoursierModule

    A default implementation of ZincWorkerModule

Deprecated Value Members

  1. object GenIdea extends ExternalModule
    Annotations
    @deprecated
    Deprecated

    (Since version Mill 0.11.2) Use mill.idea.GenIdea instead

Inherited from JsonFormatters

Inherited from AnyRef

Inherited from Any

Ungrouped