UnidocModule
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
Attributes
- Source
- UnidocModule.scala
- Graph
-
- Supertypes
-
trait ScalaModuletrait ScalaModuleBasetrait JavaModuletrait AssemblyModuletrait SemanticDbJavaModuletrait OfflineSupportModuletrait CoursierModuletrait GenIdeaModuletrait RunModuletrait TaskModuletrait JavaModuleBasetrait BspModuletrait WithZincWorkertrait Moduletrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
- Supertypes
-
trait TestModuletrait JavaModuletrait AssemblyModuletrait SemanticDbJavaModuletrait OfflineSupportModuletrait CoursierModuletrait GenIdeaModuletrait RunModuletrait TaskModuletrait JavaModuleBasetrait BspModuletrait WithZincWorkertrait Moduletrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait AndroidAppTeststrait AndroidAppKotlinTeststrait KotlinTeststrait KotlinJsTeststrait KotestTeststrait KotlinTestPackageTeststrait KspTeststrait KotlinMavenTeststrait MavenTeststrait SbtTeststrait CrossSbtTeststrait ScalaTeststrait ScalaJSTeststrait ScalaNativeTestsShow all
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
- Supertypes
-
trait ScalaModuletrait ScalaModuleBasetrait JavaTeststrait TestModuletrait JavaModuletrait AssemblyModuletrait SemanticDbJavaModuletrait OfflineSupportModuletrait CoursierModuletrait GenIdeaModuletrait RunModuletrait TaskModuletrait JavaModuleBasetrait BspModuletrait WithZincWorkertrait Moduletrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
Attributes
- Inherited from:
- Module
- Source
- Module.scala
- Supertypes
Value members
Concrete methods
Attributes
- Source
- UnidocModule.scala
Attributes
- Source
- UnidocModule.scala
Attributes
- Source
- UnidocModule.scala
Attributes
- Source
- UnidocModule.scala
Attributes
- Source
- UnidocModule.scala
Attributes
- Source
- UnidocModule.scala
Attributes
- Source
- UnidocModule.scala
Inherited methods
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Aggregation of mandatoryIvyDeps and ivyDeps. In most cases, instead of overriding this Target you want to override ivyDeps
instead.
Aggregation of mandatoryIvyDeps and ivyDeps. In most cases, instead of overriding this Target you want to override ivyDeps
instead.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Attributes
- Inherited from:
- RunModule
- Source
- RunModule.scala
Aggregation of all the options passed to the Scala compiler. In most cases, instead of overriding this Target you want to override scalacOptions
instead.
Aggregation of all the options passed to the Scala compiler. In most cases, instead of overriding this Target you want to override scalacOptions
instead.
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
All individual source files fed into the Zinc compiler.
All individual source files fed into the Zinc compiler.
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
The folders containing all source files fed into the compiler
The folders containing all source files fed into the compiler
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Dependencies that are necessary to run the Ammonite Scala REPL
Dependencies that are necessary to run the Ammonite Scala REPL
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Ammonite's version used in the repl
command is by default set to the one Mill is built against.
Ammonite's version used in the repl
command is by default set to the one Mill is built against.
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
The exact id of the artifact to be published. You probably don't want to override this. If you want to customize the name of the artifact, override artifactName instead. If you want to customize the scala version in the artifact id, see ScalaModule.artifactScalaVersion
The exact id of the artifact to be published. You probably don't want to override this. If you want to customize the name of the artifact, override artifactName instead. If you want to customize the scala version in the artifact id, see ScalaModule.artifactScalaVersion
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Override this to change the published artifact id. For example, by default a scala module foo.baz might be published as foo-baz_2.12 and a java module would be foo-baz. Setting this to baz would result in a scala artifact baz_2.12 or a java artifact baz.
Override this to change the published artifact id. For example, by default a scala module foo.baz might be published as foo-baz_2.12 and a java module would be foo-baz. Setting this to baz would result in a scala artifact baz_2.12 or a java artifact baz.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
What Scala version string to use when publishing
What Scala version string to use when publishing
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
The suffix appended to the artifact IDs during publishing
The suffix appended to the artifact IDs during publishing
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Default artifact types to fetch and put in the classpath. Add extra types here if you'd like fancy artifact extensions to be fetched.
Default artifact types to fetch and put in the classpath. Add extra types here if you'd like fancy artifact extensions to be fetched.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
An executable uber-jar/assembly containing all the resources and compiled classfiles from this module and all it's upstream modules and dependencies
An executable uber-jar/assembly containing all the resources and compiled classfiles from this module and all it's upstream modules and dependencies
Attributes
- Inherited from:
- AssemblyModule
- Source
- AssemblyModule.scala
Configuration for the assembly task: how files and file-conflicts are managed when combining multiple jar files into one big assembly jar.
Configuration for the assembly task: how files and file-conflicts are managed when combining multiple jar files into one big assembly jar.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Bind a dependency (Dep) to the actual module context (e.g. the scala version and the platform suffix)
Bind a dependency (Dep) to the actual module context (e.g. the scala version and the platform suffix)
Attributes
- Returns
-
The BoundDep
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Any Bill of Material (BOM) dependencies you want to add to this Module, in the format ivy"org:name:version"
Any Bill of Material (BOM) dependencies you want to add to this Module, in the format ivy"org:name:version"
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Bill of Material (BOM) dependencies of this module. This is meant to be overridden to add BOM dependencies. To read the value, you should use bomModuleDepsChecked instead, which uses a cached result which is also checked to be free of cycles.
Bill of Material (BOM) dependencies of this module. This is meant to be overridden to add BOM dependencies. To read the value, you should use bomModuleDepsChecked instead, which uses a cached result which is also checked to be free of cycles.
Attributes
- See also
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Same as bomModuleDeps but checked to not contain cycles. Prefer this over using bomModuleDeps directly.
Same as bomModuleDeps but checked to not contain cycles. Prefer this over using bomModuleDeps directly.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Use to fill most fields of BuildTarget
.
Use to fill most fields of BuildTarget
.
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Use to populate the BuildTarget.{dataKind,data}
fields.
Use to populate the BuildTarget.{dataKind,data}
fields.
Mill specific implementations:
- JvmBuildTarget
- ScalaBuildTarget
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
the path to the compiled classes without forcing the compilation.
the path to the compiled classes without forcing the compilation.
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Same as compileClasspath, but does not trigger compilation targets, if possible.
Same as compileClasspath, but does not trigger compilation targets, if possible.
Keep in sync with compileClasspath
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Attributes
- Inherited from:
- SemanticDbJavaModule
- Source
- SemanticDbJavaModule.scala
Attributes
- Inherited from:
- BspModule
- Source
- BspModule.scala
Attributes
- Inherited from:
- BspModule
- Source
- BspModule.scala
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Same as localClasspath, but with all dependencies on compile replaced by their non-compiling bspCompileClassesPath variants.
Same as localClasspath, but with all dependencies on compile replaced by their non-compiling bspCompileClassesPath variants.
Keep in sync with localClasspath
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Same as localRunClasspath but for use in BSP server.
Same as localRunClasspath but for use in BSP server.
Keep in sync with localRunClasspath
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Same as transitiveCompileClasspath, but with all dependencies on compile replaced by their non-compiling bspCompileClassesPath variants.
Same as transitiveCompileClasspath, but with all dependencies on compile replaced by their non-compiling bspCompileClassesPath variants.
Keep in sync with transitiveCompileClasspath
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Same as transitiveLocalClasspath, but with all dependencies on compile replaced by their non-compiling bspCompileClassesPath variants.
Same as transitiveLocalClasspath, but with all dependencies on compile replaced by their non-compiling bspCompileClassesPath variants.
Keep in sync with transitiveLocalClasspath
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Compiles the current module to generate compiled classfiles/bytecode.
Compiles the current module to generate compiled classfiles/bytecode.
When you override this, you probably also want/need to override bspCompileClassesPath, as that needs to point to the same compilation output path.
Keep in sync with bspCompileClassesPath
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
All classfiles and resources from upstream modules and dependencies necessary to compile this module.
All classfiles and resources from upstream modules and dependencies necessary to compile this module.
Keep in sync with bspCompileClasspath
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Same as ivyDeps
, but only present at compile time. Useful for e.g. macro-related dependencies like scala-reflect
that doesn't need to be present at runtime
Same as ivyDeps
, but only present at compile time. Useful for e.g. macro-related dependencies like scala-reflect
that doesn't need to be present at runtime
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The compile-only direct dependencies of this module. These are not transitive, and only take effect in the module that they are declared in.
The compile-only direct dependencies of this module. These are not transitive, and only take effect in the module that they are declared in.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Same as compileModuleDeps but checked to not contain cycles.
Same as compileModuleDeps but checked to not contain cycles.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The folders where the compile time resource files for this module live. If your resources files do not necessarily need to be seen by the compiler, you should use resources instead.
The folders where the compile time resource files for this module live. If your resources files do not necessarily need to be seen by the compiler, you should use resources instead.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Attributes
- Inherited from:
- SemanticDbJavaModule
- Source
- SemanticDbJavaModule.scala
Opens up a Scala console with your module and all dependencies present, for you to test and operate your code interactively.
Opens up a Scala console with your module and all dependencies present, for you to test and operate your code interactively.
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Command-line options to pass to the Scala console
Command-line options to pass to the Scala console
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Customize the coursier file cache.
Customize the coursier file cache.
This is rarely needed to be changed, but sometimes e.g. you want to load a coursier plugin. Doing so requires adding to coursier's classpath. To do this you could use the following:
override def coursierCacheCustomizer = Task.Anon {
Some( (fc: coursier.cache.FileCache[Task]) =>
fc.withClassLoaders(Seq(classOf[coursier.cache.protocol.S3Handler].getClassLoader))
)
}
Attributes
- Inherited from:
- CoursierModule
- Source
- CoursierModule.scala
The coursier.Dependency
to use to refer to this module
The coursier.Dependency
to use to refer to this module
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The coursier.Project
corresponding to this JavaModule
.
The coursier.Project
corresponding to this JavaModule
.
This provides details about this module to the coursier resolver (details such as dependencies, BOM dependencies, dependency management, etc.). Beyond more general resolution parameters (such as artifact types, etc.), this should be the only way we provide details about this module to coursier.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Whether to publish artifacts with name "mill_2.12.4" instead of "mill_2.12"
Whether to publish artifacts with name "mill_2.12.4" instead of "mill_2.12"
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
The name of the default command, which will be automatically executed if the module name is provided at the Mill command line.
The name of the default command, which will be automatically executed if the module name is provided at the Mill command line.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Attributes
- Inherited from:
- CoursierModule
- Source
- CoursierModule.scala
Dependency management data
Dependency management data
Versions and exclusions in dependency management override those of transitive dependencies, while they have no effect if the corresponding dependency isn't pulled during dependency resolution.
For example, the following forces com.lihaoyi::os-lib to version 0.11.3, and excludes org.slf4j:slf4j-api from com.lihaoyi::cask that it forces to version 0.9.4
def depManagement = super.depManagement() ++ Seq(
ivy"com.lihaoyi::os-lib:0.11.3",
ivy"com.lihaoyi::cask:0.9.5".exclude("org.slf4j", "slf4j-api")
)
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The documentation jar, containing all the Javadoc/Scaladoc HTML files, for publishing to Maven Central
The documentation jar, containing all the Javadoc/Scaladoc HTML files, for publishing to Maven Central
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Control whether docJar
-target should use a file to pass command line arguments to the javadoc tool. Defaults to true
on Windows. Beware: Using an args-file is probably not supported for very old javadoc versions.
Control whether docJar
-target should use a file to pass command line arguments to the javadoc tool. Defaults to true
on Windows. Beware: Using an args-file is probably not supported for very old javadoc versions.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Extra directories to be copied into the documentation.
Extra directories to be copied into the documentation.
Typically, includes static files such as html and markdown, but depends on the doc tool that is actually used.
Attributes
- See also
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Directories to be processed by the API documentation tool.
Directories to be processed by the API documentation tool.
Typically, includes the source files to generate documentation from.
Attributes
- See also
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Any command-line parameters you want to pass to the forked JVM under run
, test
or repl
Any command-line parameters you want to pass to the forked JVM under run
, test
or repl
Attributes
- Definition Classes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Similar to forkArgs
but only applies to the bat
launcher script
Similar to forkArgs
but only applies to the bat
launcher script
Attributes
- Inherited from:
- AssemblyModule
- Source
- AssemblyModule.scala
Any environment variables you want to pass to the forked JVM under run
, test
or repl
Any environment variables you want to pass to the forked JVM under run
, test
or repl
Attributes
- Definition Classes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Similar to forkArgs
but only applies to the sh
launcher script
Similar to forkArgs
but only applies to the sh
launcher script
Attributes
- Inherited from:
- AssemblyModule
- Source
- AssemblyModule.scala
Attributes
- Definition Classes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Folders containing source files that are generated rather than handwritten; these files can be generated in this target itself, or can refer to files generated from other targets
Folders containing source files that are generated rather than handwritten; these files can be generated in this target itself, or can refer to files generated from other targets
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Attributes
- Inherited from:
- GenIdeaModule
- Source
- GenIdeaModule.scala
Contribute components to idea config files.
Contribute components to idea config files.
Attributes
- Inherited from:
- GenIdeaModule
- Source
- GenIdeaModule.scala
Contribute facets to the Java module configuration.
Contribute facets to the Java module configuration.
Value parameters
- ideaConfigVersion
-
The IDEA configuration version in use. Probably
4
.
Attributes
- Inherited from:
- GenIdeaModule
- Source
- GenIdeaModule.scala
Attributes
- Inherited from:
- GenIdeaModule
- Source
- GenIdeaModule.scala
The repository that knows about this project itself and its module dependencies
The repository that knows about this project itself and its module dependencies
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Mill internal repositories to be used during dependency resolution
Mill internal repositories to be used during dependency resolution
These are not meant to be modified by Mill users, unless you really know what you're doing.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Any ivy dependencies you want to add to this Module, in the format ivy"org::name:version" for Scala dependencies or ivy"org:name:version" for Java dependencies
Any ivy dependencies you want to add to this Module, in the format ivy"org::name:version" for Scala dependencies or ivy"org:name:version" for Java dependencies
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Command to print the transitive dependency tree to STDOUT.
Command to print the transitive dependency tree to STDOUT.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
A jar containing only this module's resources and compiled classfiles, without those from upstream modules and dependencies
A jar containing only this module's resources and compiled classfiles, without those from upstream modules and dependencies
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Options to pass to the java compiler
Additional options to be used by the javadoc tool. You should not set the -d
setting for specifying the target directory, as that is done in the docJar target.
Additional options to be used by the javadoc tool. You should not set the -d
setting for specifying the target directory, as that is done in the docJar target.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Builds a command-line "launcher" file that can be used to run this module's code, without the Mill process. Useful for deployment & other places where you do not want a build tool running
Builds a command-line "launcher" file that can be used to run this module's code, without the Mill process. Useful for deployment & other places where you do not want a build tool running
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The output classfiles/resources from this module, used for execution, excluding upstream modules and third-party dependencies, but including unmanaged dependencies.
The output classfiles/resources from this module, used for execution, excluding upstream modules and third-party dependencies, but including unmanaged dependencies.
This is build from localCompileClasspath and localRunClasspath as the parts available "before compilation" and "after compilation".
Keep in sync with bspLocalClasspath
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The input classfiles/resources from this module, used during compilation, excluding upstream modules and third-party dependencies
The input classfiles/resources from this module, used during compilation, excluding upstream modules and third-party dependencies
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The part of the localClasspath which is available "after compilation".
The part of the localClasspath which is available "after compilation".
Keep in sync with bspLocalRunClasspath
Attributes
- Definition Classes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Allows you to specify an explicit main class to use for the run
command. If none is specified, the classpath is searched for an appropriate main class to use if one exists
Allows you to specify an explicit main class to use for the run
command. If none is specified, the classpath is searched for an appropriate main class to use if one exists
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Adds the Scala Library is a mandatory dependency.
Adds the Scala Library is a mandatory dependency.
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Additional options for the java compiler derived from other module settings.
Additional options for the java compiler derived from other module settings.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Mandatory command-line options to pass to the Scala compiler that shouldn't be removed by overriding scalacOptions
Mandatory command-line options to pass to the Scala compiler that shouldn't be removed by overriding scalacOptions
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Creates a manifest representation which can be modified or replaced The default implementation just adds the Manifest-Version
, Main-Class
and Created-By
attributes
Creates a manifest representation which can be modified or replaced The default implementation just adds the Manifest-Version
, Main-Class
and Created-By
attributes
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Map dependencies before resolving them. Override this to customize the set of dependencies.
Map dependencies before resolving them. Override this to customize the set of dependencies.
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Attributes
- Inherited from:
- BaseClass
- Source
- Module.scala
The direct dependencies of this module. This is meant to be overridden to add dependencies. To read the value, you should use moduleDepsChecked instead, which uses a cached result which is also checked to be free of cycle.
The direct dependencies of this module. This is meant to be overridden to add dependencies. To read the value, you should use moduleDepsChecked instead, which uses a cached result which is also checked to be free of cycle.
Attributes
- See also
-
moduleDepschecked
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Same as moduleDeps but checked to not contain cycles. Prefer this over using moduleDeps directly.
Same as moduleDeps but checked to not contain cycles. Prefer this over using moduleDeps directly.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
What platform suffix to use for publishing, e.g. _sjs
for Scala.js projects
What platform suffix to use for publishing, e.g. _sjs
for Scala.js projects
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Value parameters
- all
-
If
true
, fetches also sources, Ammonite and compiler dependencies.
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
What shell script to use to launch the executable generated by assembly
. Defaults to a generic "universal" launcher that should work for Windows, OS-X and Linux
What shell script to use to launch the executable generated by assembly
. Defaults to a generic "universal" launcher that should work for Windows, OS-X and Linux
Attributes
- Inherited from:
- AssemblyModule
- Source
- AssemblyModule.scala
The direct and indirect dependencies of this module
The direct and indirect dependencies of this module
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The direct and indirect runtime module dependencies of this module
The direct and indirect runtime module dependencies of this module
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Opens up an Ammonite Scala REPL with your module and all dependencies present, for you to test and operate your code interactively. Use ammoniteVersion to customize the Ammonite version to use.
Opens up an Ammonite Scala REPL with your module and all dependencies present, for you to test and operate your code interactively. Use ammoniteVersion to customize the Ammonite version to use.
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
The repositories used to resolved dependencies with resolveDeps.
The repositories used to resolved dependencies with resolveDeps.
Attributes
- Inherited from:
- CoursierModule
- Source
- CoursierModule.scala
Customize the coursier resolution process. This is rarely needed to changed, as the default try to provide a highly reproducible resolution process. But sometime, you need more control, e.g. you want to add some OS or JDK specific resolution properties which are sometimes used by Maven and therefore found in dependency artifact metadata. For example, the JavaFX artifacts are known to use OS specific properties. To fix resolution for JavaFX, you could override this task like the following:
Customize the coursier resolution process. This is rarely needed to changed, as the default try to provide a highly reproducible resolution process. But sometime, you need more control, e.g. you want to add some OS or JDK specific resolution properties which are sometimes used by Maven and therefore found in dependency artifact metadata. For example, the JavaFX artifacts are known to use OS specific properties. To fix resolution for JavaFX, you could override this task like the following:
override def resolutionCustomizer = Task.Anon {
Some( (r: coursier.core.Resolution) =>
r.withOsInfo(coursier.core.Activation.Os.fromProperties(sys.props.toMap))
)
}
Attributes
- Inherited from:
- CoursierModule
- Source
- CoursierModule.scala
Resolution parameters, allowing to customize resolution internals
Resolution parameters, allowing to customize resolution internals
This rarely needs to be changed. This allows to disable the new way coursier handles BOMs since coursier 2.1.17 (used in Mill since 0.12.3) for example, with:
def resolutionParams = super.resolutionParams()
.withEnableDependencyOverrides(Some(false))
Note that versions forced with Dep#forceVersion()
take over forced versions manually set in resolutionParams
. The former should be favored to force versions in dependency resolution.
The Scala version set via ScalaModule#scalaVersion
also takes over any Scala version provided via ResolutionParams#scalaVersionOpt
.
The default configuration set in ResolutionParams#defaultConfiguration
is ignored when Mill fetches dependencies to be passed to the compiler (equivalent to Maven "compile scope"). In that case, it forces the default configuration to be "compile". On the other hand, when fetching dependencies for runtime (equivalent to Maven "runtime scope"), the value in ResolutionParams#defaultConfiguration
is used.
Attributes
- Inherited from:
- CoursierModule
- Source
- CoursierModule.scala
Task that resolves the given dependencies using the repositories defined with repositoriesTask.
Task that resolves the given dependencies using the repositories defined with repositoriesTask.
Value parameters
- artifactTypes
-
If non-empty, pull the passed artifact types rather than the default ones from coursier
- deps
-
The dependencies to resolve.
- sources
-
If
true
, resolve source dependencies instead of binary dependencies (JARs).
Attributes
- Returns
-
The PathRefs to the resolved files.
- Inherited from:
- CoursierModule
- Source
- CoursierModule.scala
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Build the assembly for third-party dependencies separate from the current classpath
Build the assembly for third-party dependencies separate from the current classpath
This should allow much faster assembly creation in the common case where third-party dependencies do not change
Attributes
- Inherited from:
- AssemblyModule
- Source
- AssemblyModule.scala
Resolved dependencies
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The folders where the resource files for this module live. If you need resources to be seen by the compiler, use compileResources.
The folders where the resource files for this module live. If you need resources to be seen by the compiler, use compileResources.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Runs this module's code in a subprocess and waits for it to finish
Runs this module's code in a subprocess and waits for it to finish
Attributes
- Inherited from:
- RunModule
- Source
- RunModule.scala
Runs this module's code in a background process, until it dies or runBackground
is used again. This lets you continue using Mill while the process is running in the background: editing files, compiling, and only re-starting the background process when you're ready.
Runs this module's code in a background process, until it dies or runBackground
is used again. This lets you continue using Mill while the process is running in the background: editing files, compiling, and only re-starting the background process when you're ready.
You can also use -w foo.runBackground
to make Mill watch for changes and automatically recompile your code & restart the background process when ready. This is useful when working on long-running server processes that would otherwise run forever
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
If true, stdout and stderr of the process executed by runBackground
or runMainBackground
is sent to mill's stdout/stderr (which usually flow to the console).
If true, stdout and stderr of the process executed by runBackground
or runMainBackground
is sent to mill's stdout/stderr (which usually flow to the console).
If false, output will be directed to files stdout.log
and stderr.log
in runBackground.dest
(or runMainBackground.dest
)
Attributes
- Definition Classes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Attributes
- Inherited from:
- RunModule
- Source
- RunModule.scala
Attributes
- Inherited from:
- RunModule
- Source
- RunModule.scala
All classfiles and resources from upstream modules and dependencies necessary to run this module's code after compilation
All classfiles and resources from upstream modules and dependencies necessary to run this module's code after compilation
Attributes
- Definition Classes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Runs this module's code in a subprocess and waits for it to finish
Runs this module's code in a subprocess and waits for it to finish
Attributes
- Inherited from:
- RunModule
- Source
- RunModule.scala
Additional dependencies, only present at runtime. Useful for e.g. selecting different versions of a dependency to use at runtime after your code has already been compiled.
Additional dependencies, only present at runtime. Useful for e.g. selecting different versions of a dependency to use at runtime after your code has already been compiled.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Runs this module's code in-process within an isolated classloader. This is faster than run
, but in exchange you have less isolation between runs since the code can dirty the parent Mill process and potentially leave it in a bad state.
Runs this module's code in-process within an isolated classloader. This is faster than run
, but in exchange you have less isolation between runs since the code can dirty the parent Mill process and potentially leave it in a bad state.
Attributes
- Inherited from:
- RunModule
- Source
- RunModule.scala
Attributes
- Inherited from:
- RunModule
- Source
- RunModule.scala
Same as run
, but lets you specify a main class to run
Same as run
, but lets you specify a main class to run
Attributes
- Definition Classes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Same as runBackground
, but lets you specify a main class to run
Same as runBackground
, but lets you specify a main class to run
Attributes
- Definition Classes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Same as runLocal
, but lets you specify a main class to run
Same as runLocal
, but lets you specify a main class to run
Attributes
- Definition Classes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The runtime-only direct dependencies of this module. These are transitive, and so get propagated to downstream modules automatically
The runtime-only direct dependencies of this module. These are transitive, and so get propagated to downstream modules automatically
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Same as moduleDeps but checked to not contain cycles. Prefer this over using moduleDeps directly.
Same as moduleDeps but checked to not contain cycles. Prefer this over using moduleDeps directly.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Control whether run*
-targets should use an args file to pass command line args, if possible.
Control whether run*
-targets should use an args file to pass command line args, if possible.
Attributes
- Inherited from:
- RunModule
- Source
- RunModule.scala
Attributes
- Inherited from:
- RunModule
- Source
- RunModule.scala
Classpath of the Scala Compiler & any compiler plugins
Classpath of the Scala Compiler & any compiler plugins
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Classpath of the scaladoc (or dottydoc) tool.
Classpath of the scaladoc (or dottydoc) tool.
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Options to pass directly into Scaladoc.
Options to pass directly into Scaladoc.
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
The ivy coordinates of Scala's own standard library
The ivy coordinates of Scala's own standard library
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
What Scala organization to use
Print the scala compile built-in help output. This is equivalent to running scalac -help
Print the scala compile built-in help output. This is equivalent to running scalac -help
Value parameters
- args
-
The option to pass to the scala compiler, e.g. "-Xlint:help". Default: "-help"
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Command-line options to pass to the Scala compiler defined by the user. Consumers should use allScalacOptions
to read them.
Command-line options to pass to the Scala compiler defined by the user. Consumers should use allScalacOptions
to read them.
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
The local classpath of Scala compiler plugins on-disk; you can add additional jars here if you have some copiler plugin that isn't present on maven central
The local classpath of Scala compiler plugins on-disk; you can add additional jars here if you have some copiler plugin that isn't present on maven central
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Allows you to make use of Scala compiler plugins.
Allows you to make use of Scala compiler plugins.
Attributes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Attributes
- Inherited from:
- SemanticDbJavaModule
- Source
- SemanticDbJavaModule.scala
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Attributes
- Inherited from:
- SemanticDbJavaModule
- Source
- SemanticDbJavaModule.scala
Show the module dependencies.
Show the module dependencies.
Value parameters
- recursive
-
If
true
include all recursive module dependencies, else only show direct dependencies.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Skip Idea project file generation.
Skip Idea project file generation.
Attributes
- Inherited from:
- GenIdeaModule
- Source
- GenIdeaModule.scala
The source jar, containing only source code for publishing to Maven Central
The source jar, containing only source code for publishing to Maven Central
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The folders where the source files for this module live
The folders where the source files for this module live
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Module -> Any
- Inherited from:
- Module
- Source
- Module.scala
The transitive version of compileClasspath
The transitive version of compileClasspath
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Coursier project of this module and those of all its transitive module dependencies
Coursier project of this module and those of all its transitive module dependencies
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Almost the same as transitiveLocalClasspath, but using the jars instead of localClasspath.
Almost the same as transitiveLocalClasspath, but using the jars instead of localClasspath.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The transitive version of localClasspath
The transitive version of localClasspath
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
All direct and indirect module dependencies of this module, including compile-only dependencies: basically the modules whose classpath are needed at compile-time.
All direct and indirect module dependencies of this module, including compile-only dependencies: basically the modules whose classpath are needed at compile-time.
Note that compileModuleDeps
are defined to be non-transitive, so we only look at the direct compileModuleDeps
when assembling this list
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Like recursiveModuleDeps
but also include the module itself, basically the modules whose classpath are needed at runtime
Like recursiveModuleDeps
but also include the module itself, basically the modules whose classpath are needed at runtime
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
All direct and indirect module dependencies of this module, including compile-only dependencies: basically the modules whose classpath are needed at runtime.
All direct and indirect module dependencies of this module, including compile-only dependencies: basically the modules whose classpath are needed at runtime.
Note that runModuleDeps
are defined to be transitive
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Like recursiveModuleDeps
but also include the module itself, basically the modules whose classpath are needed at runtime
Like recursiveModuleDeps
but also include the module itself, basically the modules whose classpath are needed at runtime
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Additional jars, classfiles or resources to add to the classpath directly from disk rather than being downloaded from Maven Central or other package repositories
Additional jars, classfiles or resources to add to the classpath directly from disk rather than being downloaded from Maven Central or other package repositories
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Build the assembly for upstream dependencies separate from the current classpath
Build the assembly for upstream dependencies separate from the current classpath
This should allow much faster assembly creation in the common case where upstream dependencies do not change
Attributes
- Inherited from:
- AssemblyModule
- Source
- AssemblyModule.scala
All upstream classfiles and resources necessary to build and executable assembly, but without this module's contribution
All upstream classfiles and resources necessary to build and executable assembly, but without this module's contribution
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
The upstream compilation output of all this module's upstream modules
The upstream compilation output of all this module's upstream modules
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Upstream classfiles and resources from third-party libraries necessary to build an executable assembly
Upstream classfiles and resources from third-party libraries necessary to build an executable assembly
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Upstream classfiles and resources from locally-built modules necessary to build an executable assembly, but without this module's contribution
Upstream classfiles and resources from locally-built modules necessary to build an executable assembly, but without this module's contribution
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Files extensions that need to be managed by Zinc together with class files. This means, if zinc needs to remove a class file, it will also remove files which match the class file basename and a listed file extension.
Files extensions that need to be managed by Zinc together with class files. This means, if zinc needs to remove a class file, it will also remove files which match the class file basename and a listed file extension.
Attributes
- Definition Classes
- Inherited from:
- ScalaModule
- Source
- ScalaModule.scala
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
If true
, we always show problems (errors, warnings, infos) found in all source files, even when they have not changed since the previous incremental compilation. When false
, we report only problems for files which we re-compiled.
If true
, we always show problems (errors, warnings, infos) found in all source files, even when they have not changed since the previous incremental compilation. When false
, we report only problems for files which we re-compiled.
Attributes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Attributes
- Definition Classes
- Inherited from:
- JavaModule
- Source
- JavaModule.scala
Inherited and Abstract methods
What version of Scala to use
Implicits
Inherited implicits
Attributes
- Inherited from:
- Module
- Source
- Module.scala