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. trait AssemblyModule extends BaseClass with Module

    Core configuration required to compile a single Java compilation target

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

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

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

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

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

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

    Module specific configuration of the Idea project file generator.

  13. class IvyDepsTreeArgs extends AnyRef

    Arguments for the ivDepsTree command.

  14. 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 with AssemblyModule

    Core configuration required to compile a single Java compilation target

  15. trait JlinkModule extends BaseClass with JavaModule

    Support building modular runtime images with the jlink tool, which is included in JDK 9 and later.

    Support building modular runtime images with the jlink tool, which is included in JDK 9 and later.

    The official jlink docs: https://docs.oracle.com/en/java/javase/23/docs/specs/man/jlink.html

  16. trait JpackageModule extends BaseClass with JavaModule

    Support for building a native package / installer with the jpackage tool which comes bundled with JDK 14 and later.

    Support for building a native package / installer with the jpackage tool which comes bundled with JDK 14 and later.

    The official jpackage docs: https://docs.oracle.com/en/java/javase/23/docs/specs/man/jpackage.html

  17. trait JsonFormatters extends AnyRef
  18. 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.

  19. trait NativeImageModule extends BaseClass with WithZincWorker

    Provides a task to build a native executable using Graal VM.

    Provides a task to build a native executable using Graal VM.

    It is recommended to specify a custom JDK that includes the native-image Tool.

    trait AppModule extends NativeImageModule {
      def zincWorker = ModuleRef(ZincWorkerGraalvm)
    
      object ZincWorkerGraalvm extends ZincWorkerModule {
        def jvmId = "graalvm-community:23.0.1"
      }
    }
    Annotations
    @experimental()
  20. trait OfflineSupportModule extends BaseClass with Module
  21. trait PlatformModuleBase extends BaseClass with JavaModule
  22. 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

  23. trait PublishModule extends BaseClass with JavaModule

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

  24. trait RunModule extends BaseClass with WithZincWorker
  25. trait SbtModule extends BaseClass with ScalaModule with MavenModule

    A ScalaModule with sbt compatible directory layout.

  26. trait ScalaModule extends BaseClass with JavaModule with ScalaModuleBase

    Core configuration required to compile a single Scala compilation target

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

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

  31. trait WithZincWorker extends BaseClass with define.Module

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

  32. trait ZincWorkerModule extends BaseClass with Module with OfflineSupportModule with CoursierModule

    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 activationFormat: upickle.default.ReadWriter[Activation]
    Definition Classes
    JsonFormatters
  2. implicit lazy val activationOsFormat: upickle.default.ReadWriter[Os]
    Definition Classes
    JsonFormatters
  3. implicit lazy val attrFormat: upickle.default.ReadWriter[Attributes]
    Definition Classes
    JsonFormatters
  4. implicit lazy val bomDepFormat: upickle.default.ReadWriter[BomDependency]
    Definition Classes
    JsonFormatters
  5. implicit lazy val classifierFormat: upickle.default.ReadWriter[Classifier]
    Definition Classes
    JsonFormatters
  6. implicit lazy val configurationFormat: upickle.default.ReadWriter[Configuration]
    Definition Classes
    JsonFormatters
  7. implicit lazy val depFormat: upickle.default.ReadWriter[coursier.core.Dependency]
    Definition Classes
    JsonFormatters
  8. implicit lazy val depMgmtKeyFormat: upickle.default.ReadWriter[Key]
    Definition Classes
    JsonFormatters
  9. implicit lazy val depMgmtValuesFormat: upickle.default.ReadWriter[Values]
    Definition Classes
    JsonFormatters
  10. implicit lazy val exclusionDataFormat: upickle.default.ReadWriter[ExclusionData]
    Definition Classes
    JsonFormatters
  11. implicit lazy val extensionFormat: upickle.default.ReadWriter[Extension]
    Definition Classes
    JsonFormatters
  12. implicit lazy val infoDeveloperFormat: upickle.default.ReadWriter[Developer]
    Definition Classes
    JsonFormatters
  13. implicit lazy val infoFormat: upickle.default.ReadWriter[Info]
    Definition Classes
    JsonFormatters
  14. implicit lazy val infoLicenseFormat: upickle.default.ReadWriter[License]
    Definition Classes
    JsonFormatters
  15. implicit lazy val infoScmFormat: upickle.default.ReadWriter[Scm]
    Definition Classes
    JsonFormatters
  16. implicit lazy val minimizedExclusionsFormat: upickle.default.ReadWriter[MinimizedExclusions]
    Definition Classes
    JsonFormatters
  17. implicit lazy val modFormat: upickle.default.ReadWriter[coursier.Module]
    Definition Classes
    JsonFormatters
  18. implicit lazy val modNameFormat: upickle.default.ReadWriter[ModuleName]
    Definition Classes
    JsonFormatters
  19. implicit lazy val orgFormat: upickle.default.ReadWriter[Organization]
    Definition Classes
    JsonFormatters
  20. implicit lazy val overridesFormat: upickle.default.ReadWriter[Overrides]
    Definition Classes
    JsonFormatters
  21. implicit lazy val profileFormat: upickle.default.ReadWriter[Profile]
    Definition Classes
    JsonFormatters
  22. implicit lazy val projectFormat: upickle.default.ReadWriter[Project]
    Definition Classes
    JsonFormatters
  23. implicit lazy val publicationFormat: upickle.default.ReadWriter[Publication]
    Definition Classes
    JsonFormatters
  24. implicit lazy val snapshotVersionFormat: upickle.default.ReadWriter[SnapshotVersion]
    Definition Classes
    JsonFormatters
  25. implicit lazy val snapshotVersioningFormat: upickle.default.ReadWriter[SnapshotVersioning]
    Definition Classes
    JsonFormatters
  26. implicit lazy val typeFormat: upickle.default.ReadWriter[Type]
    Definition Classes
    JsonFormatters
  27. implicit lazy val versionFormat: upickle.default.ReadWriter[Version]
    Definition Classes
    JsonFormatters
  28. implicit lazy val versionInternalFormat: upickle.default.ReadWriter[VersionInterval]
    Definition Classes
    JsonFormatters
  29. implicit lazy val versionsDateTimeFormat: upickle.default.ReadWriter[DateTime]
    Definition Classes
    JsonFormatters
  30. implicit lazy val versionsFormat: upickle.default.ReadWriter[Versions]
    Definition Classes
    JsonFormatters
  31. object Assembly extends Serializable
  32. object BoundDep extends Serializable
  33. object CoursierModule
  34. object CrossVersion
  35. object Dep extends Serializable
  36. object Dependency extends ExternalModule
  37. object GenIdeaImpl extends Serializable
  38. object GenIdeaModule
  39. object IvyDepsTreeArgs
  40. object JavaModule
  41. object JsonFormatters extends JsonFormatters
  42. object Lib
  43. object PublishModule extends ExternalModule with TaskModule
  44. object RunModule
  45. object SemanticDbJavaModule
  46. object TestModule
  47. object UnresolvedPath
  48. 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