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 Assembly(pathRef: api.PathRef, addedEntries: Int) extends Product with Serializable
  2. case class BoundDep(dep: coursier.Dependency, force: Boolean) extends Product with Serializable

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

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

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

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

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

    Module specific configuration of the Idea project file generator.

  12. class IvyDepsTreeArgs extends AnyRef

    Arguments for the ivDepsTree command.

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

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

  16. trait OfflineSupportModule extends BaseClass with Module
  17. 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

  18. trait PublishModule extends BaseClass with JavaModule

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

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

    A ScalaModule with sbt compatible directory layout.

  21. trait ScalaModule extends BaseClass with JavaModule with ScalaModuleBase

    Core configuration required to compile a single Scala compilation target

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

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

  26. trait WithZincWorker extends BaseClass with define.Module

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

  27. 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 extends Serializable
  14. object BoundDep extends Serializable
  15. object CoursierModule
  16. object CrossVersion
  17. object Dep extends Serializable
  18. object Dependency extends ExternalModule
  19. object GenIdeaImpl extends Serializable
  20. object GenIdeaModule
  21. object IvyDepsTreeArgs
  22. object JsonFormatters extends JsonFormatters
  23. object Lib
  24. object PublishModule extends ExternalModule with TaskModule
  25. object RunModule
  26. object SemanticDbJavaModule
  27. object TestModule
  28. object UnresolvedPath
  29. 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