Packages

trait ScalaNativeTests extends BaseClass with ScalaTests with TestScalaNativeModule

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaNativeTests
  2. TestScalaNativeModule
  3. ScalaNativeModule
  4. ScalaTests
  5. ScalaModule
  6. ScalaModuleBase
  7. JavaModuleTests
  8. TestModule
  9. JavaModule
  10. SemanticDbJavaModule
  11. OfflineSupportModule
  12. CoursierModule
  13. GenIdeaModule
  14. RunModule
  15. TaskModule
  16. JavaModuleBase
  17. BspModule
  18. WithZincWorker
  19. Module
  20. BaseClass
  21. Cacher
  22. AnyRef
  23. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait JavaModuleTests extends BaseClass with JavaModule with TestModule
    Definition Classes
    JavaModule
  2. trait ScalaTests extends BaseClass with JavaModuleTests with ScalaModule
    Definition Classes
    ScalaModule
  3. trait ScalaNativeTests extends BaseClass with ScalaTests with TestScalaNativeModule
    Definition Classes
    ScalaNativeModule

Deprecated Type Members

  1. type ScalaModuleTests = ScalaTests
    Definition Classes
    ScalaModule
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.0) use ScalaTests

  2. type ScalaNativeModuleTests = ScalaNativeTests
    Definition Classes
    ScalaNativeModule
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.0) use ScalaNativeTests

Abstract Value Members

  1. abstract def testFramework: T[String]

    The test framework to use.

    The test framework to use.

    For convenience, you can also mix-in one of these predefined traits: - TestModule.Junit4 - TestModule.Junit5 - TestModule.Munit - TestModule.ScalaTest - TestModule.Specs2 - TestModule.TestNg - TestModule.Utest - TestModule.Weaver - TestModule.ZioTest

    Definition Classes
    TestModule

Concrete Value Members

  1. object millInternal extends Internal

    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

    Definition Classes
    Module
    Annotations
    @internal()
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def allIvyDeps: T[Agg[Dep]]

    Aggregation of mandatoryIvyDeps and ivyDeps.

    Aggregation of mandatoryIvyDeps and ivyDeps. In most cases, instead of overriding this Target you want to override ivyDeps instead.

    Definition Classes
    JavaModule
  6. def allLocalMainClasses: T[Seq[String]]
    Definition Classes
    RunModule
  7. def allScalacOptions: Target[Seq[String]]

    Aggregation of all the options passed to the Scala compiler.

    Aggregation of all the options passed to the Scala compiler. In most cases, instead of overriding this Target you want to override scalacOptions instead.

    Definition Classes
    ScalaModule
  8. def allSourceFiles: T[Seq[api.PathRef]]

    All individual source files fed into the Zinc compiler.

    All individual source files fed into the Zinc compiler.

    Definition Classes
    ScalaModuleJavaModuleSemanticDbJavaModule
  9. def allSources: T[Seq[api.PathRef]]

    The folders containing all source files fed into the compiler

    The folders containing all source files fed into the compiler

    Definition Classes
    JavaModule
  10. def ammoniteReplClasspath: T[Seq[api.PathRef]]

    Dependencies that are necessary to run the Ammonite Scala REPL

    Dependencies that are necessary to run the Ammonite Scala REPL

    Definition Classes
    ScalaModule
  11. def ammoniteVersion: T[String]

    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.

    Definition Classes
    ScalaModule
  12. def artifactId: T[String]

    The exact id of the artifact to be published.

    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

    Definition Classes
    ScalaModuleJavaModule
  13. def artifactName: T[String]

    Override this to change the published artifact id.

    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.

    Definition Classes
    JavaModule
  14. def artifactNameParts: T[Seq[String]]
    Definition Classes
    JavaModule
  15. def artifactScalaVersion: T[String]

    What Scala version string to use when publishing

    What Scala version string to use when publishing

    Definition Classes
    ScalaModule
  16. def artifactSuffix: T[String]

    The suffix appended to the artifact IDs during publishing

    The suffix appended to the artifact IDs during publishing

    Definition Classes
    ScalaModuleJavaModule
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def assembly: T[api.PathRef]

    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

    Definition Classes
    JavaModule
  19. def assemblyRules: Seq[Rule]

    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.

    Definition Classes
    JavaModule
  20. def bindDependency: define.Task[(Dep) => BoundDep]

    Bind a dependency (Dep) to the actual module contetxt (e.g.

    Bind a dependency (Dep) to the actual module contetxt (e.g. the scala version and the platform suffix)

    returns

    The BoundDep

    Definition Classes
    CoursierModule
  21. def bridgeFullClassPath: T[api.Loose.Agg[PathRef]]
    Definition Classes
    ScalaNativeModule
  22. def bspBuildTarget: BspBuildTarget

    Use to fill most fields of BuildTarget.

    Use to fill most fields of BuildTarget.

    Definition Classes
    ScalaModuleJavaModuleSemanticDbJavaModuleBspModule
    Annotations
    @internal()
  23. def bspBuildTargetData: define.Task[Option[(String, AnyRef)]]

    Use to populate the BuildTarget.{dataKind,data} fields.

    Use to populate the BuildTarget.{dataKind,data} fields.

    Mill specific implementations: - JvmBuildTarget - ScalaBuildTarget

    Definition Classes
    ScalaNativeModuleScalaModuleJavaModuleBspModule
    Annotations
    @internal()
  24. def bspCompileClassesPath: Target[UnresolvedPath]

    the path to the compiled classes without forcing the compilation.

    the path to the compiled classes without forcing the compilation.

    Definition Classes
    ScalaModuleJavaModule
    Annotations
    @internal()
  25. def bspCompileClasspath: T[Agg[UnresolvedPath]]

    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

    Definition Classes
    JavaModule
    Annotations
    @internal()
  26. def bspCompiledClassesAndSemanticDbFiles: define.Target[UnresolvedPath]
    Definition Classes
    SemanticDbJavaModule
  27. def bspDisplayName: String
    Definition Classes
    BspModule
  28. def bspDisplayName0: String
    Definition Classes
    BspModule
  29. def bspLocalClasspath: T[Agg[UnresolvedPath]]

    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

    Definition Classes
    JavaModule
    Annotations
    @internal()
  30. def bspLocalRunClasspath: T[Agg[UnresolvedPath]]

    Same as localRunClasspath but for use in BSP server.

    Same as localRunClasspath but for use in BSP server.

    Keep in sync with localRunClasspath

    Definition Classes
    JavaModule
  31. def bspTransitiveCompileClasspath: T[Agg[UnresolvedPath]]

    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

    Definition Classes
    JavaModule
    Annotations
    @internal()
  32. def bspTransitiveLocalClasspath: T[Agg[UnresolvedPath]]

    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

    Definition Classes
    JavaModule
    Annotations
    @internal()
  33. def cachedTarget[T](t: => T)(implicit c: Enclosing): T
    Attributes
    protected[this]
    Definition Classes
    Cacher
  34. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  35. def compile: T[CompilationResult]

    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

    Definition Classes
    ScalaModuleJavaModuleSemanticDbJavaModule
  36. def compileClasspath: T[Agg[api.PathRef]]

    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

    Definition Classes
    JavaModuleSemanticDbJavaModule
  37. def compileIvyDeps: T[Agg[Dep]]

    Same as ivyDeps, but only present at compile time.

    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

    Definition Classes
    JavaModule
  38. def compileModuleDeps: Seq[JavaModule]

    The compile-only direct dependencies of this module.

    The compile-only direct dependencies of this module.

    Definition Classes
    JavaModule
  39. final def compileModuleDepsChecked: Seq[JavaModule]

    Same as compileModuleDeps but checked to not contain cycles.

    Same as compileModuleDeps but checked to not contain cycles.

    Definition Classes
    JavaModule
  40. def compileResources: T[Seq[api.PathRef]]

    The folders where the compile time resource files for this module live.

    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.

    Definition Classes
    JavaModule
  41. def compiledClassesAndSemanticDbFiles: define.Target[api.PathRef]
    Definition Classes
    SemanticDbJavaModule
  42. def console(): Command[Unit]

    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.

    Definition Classes
    ScalaModule
  43. def consoleScalacOptions: T[Seq[String]]

    Command-line options to pass to the Scala console

    Command-line options to pass to the Scala console

    Definition Classes
    ScalaModule
  44. def coursierCacheCustomizer: define.Task[Option[(FileCache[coursier.util.Task]) => FileCache[coursier.util.Task]]]

    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 = T.task {
       Some( (fc: coursier.cache.FileCache[Task]) =>
         fc.withClassLoaders(Seq(classOf[coursier.cache.protocol.S3Handler].getClassLoader))
       )
    }
    Definition Classes
    CoursierModule
  45. def crossFullScalaVersion: T[Boolean]

    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"

    Definition Classes
    ScalaModule
  46. def defaultCommandName(): String

    The name of the default command, which will be automatically excecuted if the module name is provided at the Mill command line

    The name of the default command, which will be automatically excecuted if the module name is provided at the Mill command line

    Definition Classes
    TestModuleTaskModule
  47. def discoveredTestClasses: T[Seq[String]]
    Definition Classes
    TestModule
  48. def doRunBackground(taskDest: Path, runClasspath: Seq[api.PathRef], zwBackgroundWrapperClasspath: Agg[api.PathRef], forkArgs: Seq[String], forkEnv: Map[String, String], finalMainClass: String, forkWorkingDir: Path, runUseArgsFile: Boolean, backgroundOutputs: Option[(ProcessOutput, ProcessOutput)])(args: String*): (Ctx) => Result[Unit]
    Attributes
    protected
    Definition Classes
    JavaModuleRunModule
  49. def docJar: T[api.PathRef]

    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

    Definition Classes
    ScalaModuleJavaModule
  50. def docJarUseArgsFile: T[Boolean]

    Control whether docJar-target should use a file to pass command line arguments to the javadoc tool.

    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.

    Definition Classes
    JavaModule
  51. def docResources: T[Seq[api.PathRef]]

    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.

    Definition Classes
    JavaModule
    See also

    docSources

  52. def docSources: T[Seq[api.PathRef]]

    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.

    Definition Classes
    ScalaModuleJavaModule
    See also

    docResources

  53. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  54. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  55. def finalMainClass: T[String]
    Definition Classes
    JavaModuleRunModule
  56. def finalMainClassOpt: T[Either[String, String]]
    Definition Classes
    JavaModuleRunModule
  57. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  58. def forkArgs: T[Seq[String]]

    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

    Definition Classes
    JavaModuleRunModule
  59. def forkEnv: T[Map[String, String]]

    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

    Definition Classes
    JavaModuleRunModule
  60. def forkWorkingDir: T[Path]
    Definition Classes
    JavaModuleRunModule
  61. def generatedSources: T[Seq[api.PathRef]]

    Folders containing source files that are generated rather than hand-written; 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 hand-written; these files can be generated in this target itself, or can refer to files generated from other targets

    Definition Classes
    JavaModule
  62. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  63. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  64. def hierarchyChecks(): Unit

    JavaModule and its derivates define inner test modules.

    JavaModule and its derivates define inner test modules. To avoid unexpected misbehavior due to the use of the wrong inner test trait we apply some hierarchy consistency checks. If for some reasons, those are too restrictive to you, you can override this method.

    Attributes
    protected
    Definition Classes
    JavaModuleTests
    Exceptions thrown
  65. def ideaCompileOutput: T[PathRef]
    Definition Classes
    GenIdeaModule
  66. def ideaConfigFiles(ideaConfigVersion: Int): define.Task[Seq[IdeaConfigFile]]

    Contribute components to idea config files.

    Contribute components to idea config files.

    Definition Classes
    GenIdeaModule
  67. def ideaJavaModuleFacets(ideaConfigVersion: Int): define.Task[Seq[JavaFacet]]

    Contribute facets to the Java module configuration.

    Contribute facets to the Java module configuration.

    ideaConfigVersion

    The IDEA configuration version in use. Probably 4.

    Definition Classes
    GenIdeaModule
  68. def intellijModulePath: Path
    Definition Classes
    GenIdeaModule
  69. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  70. def ivyDeps: define.Target[api.Loose.Agg[Dep]]

    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

    Definition Classes
    TestScalaNativeModuleJavaModuleJavaModuleBase
  71. def ivyDepsTree(args: IvyDepsTreeArgs = IvyDepsTreeArgs()): define.Command[Unit]

    Command to print the transitive dependency tree to STDOUT.

    Command to print the transitive dependency tree to STDOUT.

    Definition Classes
    JavaModule
  72. def jar: T[api.PathRef]

    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

    Definition Classes
    JavaModule
  73. def javacOptions: T[Seq[String]]

    Options to pass to the java compiler

    Options to pass to the java compiler

    Definition Classes
    JavaModuleTestsJavaModuleSemanticDbJavaModule
  74. def javadocOptions: T[Seq[String]]

    Additional options to be used by the javadoc tool.

    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.

    Definition Classes
    JavaModule
  75. def launcher: define.Target[api.PathRef]

    Builds a command-line "launcher" file that can be used to run this module's code, without the Mill process.

    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

    Definition Classes
    JavaModule
  76. def localClasspath: T[Seq[api.PathRef]]

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

    Keep in sync with bspLocalClasspath

    Definition Classes
    JavaModule
  77. def localCompileClasspath: T[Agg[api.PathRef]]

    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

    Definition Classes
    JavaModule
  78. def localRunClasspath: T[Seq[api.PathRef]]

    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

    Definition Classes
    JavaModuleRunModule
  79. def logLevel: define.Target[NativeLogLevel]
    Definition Classes
    ScalaNativeTestsScalaNativeModule
  80. def mainClass: T[Option[String]]

    Allows you to specify an explicit main class to use for the run command.

    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

    Definition Classes
    TestScalaNativeModuleJavaModuleRunModule
  81. def mandatoryIvyDeps: define.Target[api.Loose.Agg[Dep]]

    Adds nativeIvyDeps as mandatory dependencies.

    Adds nativeIvyDeps as mandatory dependencies.

    Definition Classes
    ScalaNativeModuleScalaModuleJavaModule
  82. def mandatoryScalacOptions: Target[Seq[String]]

    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

    Definition Classes
    ScalaTestsScalaModule
  83. def manifest: T[JarManifest]

    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

    Definition Classes
    ScalaModuleJavaModule
  84. def mapDependencies: Task[(Dependency) => Dependency]

    Map dependencies before resolving them.

    Map dependencies before resolving them. Override this to customize the set of dependencies.

    Definition Classes
    ScalaModuleCoursierModule
  85. implicit def millModuleBasePath: BasePath
    Definition Classes
    Module
  86. def millModuleDirectChildren: Seq[define.Module]
    Definition Classes
    Module
  87. implicit def millModuleExternal: External
    Definition Classes
    Module
  88. implicit def millModuleSegments: Segments
    Definition Classes
    Module
  89. implicit def millModuleShared: Foreign
    Definition Classes
    Module
  90. def millOuterCtx: Ctx
    Definition Classes
    BaseClass
  91. def millSourcePath: Path
    Definition Classes
    Module
  92. def moduleDeps: Seq[JavaModule]

    The direct dependencies of this module.

    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.

    Definition Classes
    JavaModuleTestsJavaModule
    See also

    moduleDepschecked

  93. final def moduleDepsChecked: Seq[JavaModule]

    Same as moduleDeps but checked to not contain cycles.

    Same as moduleDeps but checked to not contain cycles. Prefer this over using moduleDeps directly.

    Definition Classes
    JavaModule
  94. def nativeBuildTarget: define.Target[BuildTarget]

    Build target for current compilation

    Build target for current compilation

    Definition Classes
    ScalaNativeModule
  95. def nativeClang: define.Target[Path]
    Definition Classes
    ScalaNativeModule
  96. def nativeClangPP: define.Target[Path]
    Definition Classes
    ScalaNativeModule
  97. def nativeCompileOptions: define.Target[Seq[String]]
    Definition Classes
    ScalaNativeModule
  98. def nativeDump: define.Target[Boolean]

    Shall linker dump intermediate NIR after every phase?

    Shall linker dump intermediate NIR after every phase?

    Definition Classes
    ScalaNativeModule
  99. def nativeEmbedResources: define.Target[Boolean]

    Shall the resource files be embedded in the resulting binary file? Allows the use of getClass().getResourceAsStream() on the included files.

    Shall the resource files be embedded in the resulting binary file? Allows the use of getClass().getResourceAsStream() on the included files. Will not embed files with certain extensions, including ".c", ".h", ".scala" and ".class".

    Definition Classes
    ScalaNativeModule
  100. def nativeGC: define.Target[String]
    Definition Classes
    ScalaNativeModule
  101. def nativeGCInput: define.Target[Option[String]]
    Attributes
    protected
    Definition Classes
    ScalaNativeModule
  102. def nativeIncrementalCompilation: define.Target[Boolean]

    Shall we use the incremental compilation?

    Shall we use the incremental compilation?

    Definition Classes
    ScalaNativeModule
  103. def nativeIvyDeps: T[api.Loose.Agg[Dep]]
    Definition Classes
    ScalaNativeModule
  104. def nativeLTO: define.Target[LTO]
    Definition Classes
    ScalaNativeModule
  105. def nativeLTOInput: define.Target[Option[LTO]]
    Attributes
    protected
    Definition Classes
    ScalaNativeModule
  106. def nativeLink: define.Target[Path]
    Definition Classes
    ScalaNativeModule
  107. def nativeLinkStubs: define.Target[Boolean]
    Definition Classes
    ScalaNativeModule
  108. def nativeLinkingOptions: define.Target[Seq[String]]
    Definition Classes
    ScalaNativeModule
  109. def nativeOptimize: define.Target[Boolean]
    Definition Classes
    ScalaNativeModule
  110. def nativeOptimizeInput: define.Target[Option[Boolean]]
    Attributes
    protected
    Definition Classes
    ScalaNativeModule
  111. def nativeTarget: define.Target[Option[String]]
    Definition Classes
    ScalaNativeModule
  112. def nativeWorkdir: define.Target[Path]
    Definition Classes
    ScalaNativeModule
  113. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  114. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  115. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  116. def platformSuffix: define.Target[String]

    What platform suffix to use for publishing, e.g.

    What platform suffix to use for publishing, e.g. _sjs for Scala.js projects

    Definition Classes
    ScalaNativeModuleJavaModule
  117. def prepareOffline(all: Flag): define.Command[Unit]

    all

    If true , fetches also sources, Ammonite and compiler dependencies.

    Definition Classes
    ScalaNativeModuleScalaModuleJavaModuleOfflineSupportModule
  118. def prependShellScript: T[String]

    What shell script to use to launch the executable generated by assembly.

    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

    Definition Classes
    JavaModule
  119. def printDepsTree(inverse: Boolean, additionalDeps: define.Task[Agg[BoundDep]], whatDependsOn: List[JavaOrScalaModule]): define.Task[Unit]

    Task that print the transitive dependency tree to STDOUT.

    Task that print the transitive dependency tree to STDOUT. NOTE: that when whatDependsOn is used with inverse it will just be ignored since when using whatDependsOn the tree _must_ be inversed to work, so this will always be set as true.

    inverse

    Invert the tree representation, so that the root is on the bottom.

    additionalDeps

    Additional dependency to be included into the tree.

    whatDependsOn

    possible list of modules to target in the tree in order to see where a dependency stems from.

    Attributes
    protected
    Definition Classes
    JavaModule
  120. def recursiveModuleDeps: Seq[JavaModule]

    The direct and indirect dependencies of this module

    The direct and indirect dependencies of this module

    Definition Classes
    JavaModule
  121. def releaseMode: define.Target[ReleaseMode]
    Definition Classes
    ScalaNativeTestsScalaNativeModule
  122. def releaseModeInput: define.Target[Option[ReleaseMode]]
    Attributes
    protected
    Definition Classes
    ScalaNativeModule
  123. def repl(replOptions: String*): Command[Unit]

    Opens up an Ammonite Scala REPL with your module and all dependencies present, for you to test and operate your code interactively.

    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.

    Definition Classes
    ScalaModule
  124. def repositoriesTask: define.Task[Seq[Repository]]

    The repositories used to resolved dependencies with resolveDeps().

    The repositories used to resolved dependencies with resolveDeps().

    Definition Classes
    JavaModuleTestsCoursierModule
  125. def resolutionCustomizer: define.Task[Option[(Resolution) => Resolution]]

    Customize the coursier resolution resolution process.

    Customize the coursier resolution 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 = T.task {
      Some( (r: coursier.core.Resolution) =>
        r.withOsInfo(coursier.core.Activation.Os.fromProperties(sys.props.toMap))
      )
    }
    Definition Classes
    JavaModuleTestsCoursierModule
  126. def resolveCoursierDependency: Task[(Dep) => Dependency]
    Definition Classes
    ScalaModuleCoursierModule
  127. def resolveDeps(deps: define.Task[Agg[BoundDep]], sources: Boolean = false): define.Task[Agg[api.PathRef]]

    Task that resolves the given dependencies using the repositories defined with repositoriesTask.

    Task that resolves the given dependencies using the repositories defined with repositoriesTask.

    deps

    The dependencies to resolve.

    sources

    If true, resolve source dependencies instead of binary dependencies (JARs).

    returns

    The PathRefs to the resolved files.

    Definition Classes
    CoursierModule
  128. def resolvePublishDependency: Task[(Dep) => Dependency]
    Definition Classes
    ScalaModuleJavaModule
  129. def resolvedAmmoniteReplIvyDeps: define.Target[Agg[api.PathRef]]
    Definition Classes
    ScalaModule
  130. def resolvedIvyDeps: T[Agg[api.PathRef]]

    Resolved dependencies based on transitiveIvyDeps and transitiveCompileIvyDeps.

    Resolved dependencies based on transitiveIvyDeps and transitiveCompileIvyDeps.

    Definition Classes
    JavaModule
  131. def resolvedRunIvyDeps: T[Agg[api.PathRef]]
    Definition Classes
    JavaModule
  132. def resolvedSemanticDbJavaPluginIvyDeps: T[Agg[api.PathRef]]
    Attributes
    protected
    Definition Classes
    SemanticDbJavaModule
  133. def resources: T[Seq[api.PathRef]]

    The folders where the resource files for this module live.

    The folders where the resource files for this module live. If you need resources to be seen by the compiler, use compileResources.

    Definition Classes
    JavaModule
  134. def run(args: define.Task[Args] = T.task(Args())): define.Command[Unit]

    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

    Definition Classes
    ScalaNativeModuleJavaModuleRunModule
  135. def runBackground(args: String*): define.Command[Unit]

    Runs this module's code in a background process, until it dies or runBackground is used again.

    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

    Definition Classes
    JavaModule
  136. def runBackgroundLogToConsole: Boolean

    If true, stdout and stderr of the process executed by runBackground or runMainBackground is sent to mill's stdout/stderr (which usualy 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 usualy flow to the console).

    If false, output will be directed to files stdout.log and stderr.log in runBackground.dest (or runMainBackground.dest)

    Definition Classes
    JavaModuleRunModule
  137. def runBackgroundTask(mainClass: define.Task[String], args: define.Task[Args] = T.task(Args())): define.Task[Unit]
    Definition Classes
    RunModule
  138. def runClasspath: T[Seq[api.PathRef]]

    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

    Definition Classes
    JavaModuleRunModule
  139. def runForkedTask(mainClass: define.Task[String], args: define.Task[Args] = T.task(Args())): define.Task[Unit]

    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

    Definition Classes
    RunModule
  140. def runIvyDeps: T[Agg[Dep]]

    Additional dependencies, only present at runtime.

    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.

    Definition Classes
    JavaModule
  141. def runLocal(args: define.Task[Args] = T.task(Args())): define.Command[Unit]

    Runs this module's code in-process within an isolated classloader.

    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.

    Definition Classes
    JavaModuleRunModule
  142. def runLocalTask(mainClass: define.Task[String], args: define.Task[Args] = T.task(Args())): define.Task[Unit]
    Definition Classes
    RunModule
  143. def runMain(mainClass: String, args: String*): define.Command[Unit]

    Same as run, but lets you specify a main class to run

    Same as run, but lets you specify a main class to run

    Definition Classes
    JavaModuleRunModule
  144. def runMainBackground(mainClass: String, args: String*): define.Command[Unit]

    Same as runBackground, but lets you specify a main class to run

    Same as runBackground, but lets you specify a main class to run

    Definition Classes
    JavaModuleRunModule
  145. def runMainLocal(mainClass: String, args: String*): define.Command[Unit]

    Same as runLocal, but lets you specify a main class to run

    Same as runLocal, but lets you specify a main class to run

    Definition Classes
    JavaModuleRunModule
  146. def runUseArgsFile: T[Boolean]

    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.

    Definition Classes
    JavaModuleTestsJavaModuleRunModule
  147. def scalaCompilerClasspath: T[api.Loose.Agg[api.PathRef]]

    Classpath of the Scala Compiler & any compiler plugins

    Classpath of the Scala Compiler & any compiler plugins

    Definition Classes
    ScalaModule
  148. def scalaDocClasspath: T[api.Loose.Agg[api.PathRef]]

    Classpath of the scaladoc (or dottydoc) tool.

    Classpath of the scaladoc (or dottydoc) tool.

    Definition Classes
    ScalaModule
  149. def scalaDocOptions: T[Seq[String]]

    Options to pass directly into Scaladoc.

    Options to pass directly into Scaladoc.

    Definition Classes
    ScalaModule
  150. def scalaDocPluginClasspath: T[api.Loose.Agg[api.PathRef]]

    The ivy coordinates of Scala's own standard library

    The ivy coordinates of Scala's own standard library

    Definition Classes
    ScalaModule
  151. def scalaDocPluginIvyDeps: Target[api.Loose.Agg[Dep]]
    Definition Classes
    ScalaModule
  152. def scalaLibraryIvyDeps: define.Target[api.Loose.Agg[Dep]]
    Definition Classes
    ScalaNativeModuleScalaModule
  153. def scalaNativeBinaryVersion: define.Target[String]
    Definition Classes
    ScalaNativeModule
  154. def scalaNativeVersion: define.Target[String]
    Definition Classes
    ScalaNativeTestsScalaNativeModule
  155. def scalaNativeWorkerClasspath: define.Target[api.Loose.Agg[api.PathRef]]
    Definition Classes
    ScalaNativeModule
  156. def scalaNativeWorkerVersion: define.Target[String]
    Definition Classes
    ScalaNativeModule
  157. def scalaOrganization: Target[String]

    What Scala organization to use

    What Scala organization to use

    Definition Classes
    ScalaTestsScalaModule
  158. def scalaVersion: Target[String]

    What version of Scala to use

    What version of Scala to use

    Definition Classes
    ScalaTestsScalaModule
  159. def scalacHelp(args: String*): Command[Unit]

    Print the scala compile built-in help output.

    Print the scala compile built-in help output. This is equivalent to running scalac -help

    args

    The option to pass to the scala compiler, e.g. "-Xlint:help". Default: "-help"

    Definition Classes
    ScalaModule
  160. def scalacOptions: Target[Seq[String]]

    Command-line options to pass to the Scala compiler defined by the user.

    Command-line options to pass to the Scala compiler defined by the user. Consumers should use allScalacOptions to read them.

    Definition Classes
    ScalaTestsScalaModuleScalaModuleBase
  161. def scalacPluginClasspath: Target[api.Loose.Agg[api.PathRef]]

    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

    Definition Classes
    ScalaTestsScalaModule
  162. def scalacPluginIvyDeps: T[api.Loose.Agg[Dep]]

    Allows you to make use of Scala compiler plugins.

    Allows you to make use of Scala compiler plugins.

    Definition Classes
    ScalaNativeModuleScalaModule
  163. def semanticDbData: T[api.PathRef]
    Definition Classes
    ScalaModuleSemanticDbJavaModule
  164. def semanticDbEnablePluginScalacOptions: T[Seq[String]]

    Scalac options to activate the compiler plugins.

    Scalac options to activate the compiler plugins.

    Attributes
    protected
    Definition Classes
    SemanticDbJavaModule
  165. def semanticDbJavaVersion: T[String]
    Definition Classes
    SemanticDbJavaModule
  166. def semanticDbPluginClasspath: define.Target[Agg[api.PathRef]]
    Attributes
    protected
    Definition Classes
    ScalaModuleSemanticDbJavaModule
  167. def semanticDbPluginIvyDeps: T[Agg[Dep]]
    Attributes
    protected
    Definition Classes
    SemanticDbJavaModule
  168. def semanticDbScalaVersion: T[String]
    Definition Classes
    ScalaModuleSemanticDbJavaModule
  169. def semanticDbVersion: T[String]
    Definition Classes
    SemanticDbJavaModule
  170. def showModuleDeps(recursive: Boolean = false): define.Command[Unit]

    Show the module dependencies.

    Show the module dependencies.

    recursive

    If true include all recursive module dependencies, else only show direct dependencies.

    Definition Classes
    JavaModule
  171. def skipIdea: Boolean

    Skip Idea project file generation.

    Skip Idea project file generation.

    Definition Classes
    JavaModuleTestsGenIdeaModule
  172. def sourceJar: T[api.PathRef]

    The source jar, containing only source code for publishing to Maven Central

    The source jar, containing only source code for publishing to Maven Central

    Definition Classes
    JavaModule
  173. def sources: define.Target[Seq[api.PathRef]]

    The folders where the source files for this module live

    The folders where the source files for this module live

    Definition Classes
    JavaModuleTestsJavaModule
  174. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  175. def test(args: String*): define.Command[(String, Seq[TestResult])]

    Discovers and runs the module's tests in a subprocess, reporting the results to the console.

    Discovers and runs the module's tests in a subprocess, reporting the results to the console.

    Definition Classes
    TestModule
    See also

    testCached

  176. def testCached: T[(String, Seq[TestResult])]

    Discovers and runs the module's tests in a subprocess, reporting the results to the console.

    Discovers and runs the module's tests in a subprocess, reporting the results to the console. If no input has changed since the last run, no test were executed.

    Definition Classes
    TestModule
    See also

    test()

  177. def testCachedArgs: T[Seq[String]]

    Args to be used by testCached.

    Args to be used by testCached.

    Definition Classes
    TestModule
  178. def testClasspath: T[Seq[api.PathRef]]

    The classpath containing the tests.

    The classpath containing the tests. This is most likely the output of the compilation target. By default this uses the result of localRunClasspath, which is most likely the result of a local compilation.

    Definition Classes
    TestModule
  179. def testLocal(args: String*): define.Command[(String, Seq[TestResult])]

    Discovers and runs the module's tests in-process in an isolated classloader, reporting the results to the console

    Discovers and runs the module's tests in-process in an isolated classloader, reporting the results to the console

    Definition Classes
    TestScalaNativeModuleTestModule
  180. def testOnly(args: String*): define.Command[(String, Seq[TestResult])]

    Discovers and runs the module's tests in a subprocess, reporting the results to the console.

    Discovers and runs the module's tests in a subprocess, reporting the results to the console. Arguments before "--" will be used as wildcard selector to select test classes, arguments after "--" will be passed as regular arguments. testOnly *foo foobar bar* -- arguments will test only classes with name (includes package name) 1. end with "foo", 2. exactly "foobar", 3. start with "bar", with "arguments" as arguments passing to test framework.

    Definition Classes
    TestModule
  181. def testReportXml: T[Option[String]]

    Sets the file name for the generated JUnit-compatible test report.

    Sets the file name for the generated JUnit-compatible test report. If None is set, no file will be generated.

    Definition Classes
    TestModule
  182. def testTask(args: define.Task[Seq[String]], globSeletors: define.Task[Seq[String]]): define.Task[(String, Seq[TestResult])]

    The actual task shared by test-tasks that runs test in a forked JVM.

    The actual task shared by test-tasks that runs test in a forked JVM.

    Attributes
    protected
    Definition Classes
    TestScalaNativeModuleTestModule
  183. def testUseArgsFile: T[Boolean]

    Controls whether the TestRunner should receive it's arguments via an args-file instead of a as long parameter list.

    Controls whether the TestRunner should receive it's arguments via an args-file instead of a as long parameter list. Defaults to what runUseArgsFile return.

    Definition Classes
    TestModule
  184. def toString(): String
    Definition Classes
    Module → AnyRef → Any
  185. def toolsIvyDeps: define.Target[api.Loose.Agg[Dep]]
    Definition Classes
    ScalaNativeModule
  186. def transitiveCompileClasspath: T[Agg[api.PathRef]]

    The transitive version of compileClasspath

    The transitive version of compileClasspath

    Definition Classes
    JavaModule
  187. def transitiveCompileIvyDeps: T[Agg[BoundDep]]

    The compile-only transitive ivy dependencies of this module and all it's upstream compile-only modules.

    The compile-only transitive ivy dependencies of this module and all it's upstream compile-only modules.

    Definition Classes
    JavaModule
  188. def transitiveIvyDeps: T[api.Loose.Agg[BoundDep]]

    The transitive ivy dependencies of this module and all it's upstream modules.

    The transitive ivy dependencies of this module and all it's upstream modules. This is calculated from ivyDeps, mandatoryIvyDeps and recursively from moduleDeps.

    Definition Classes
    ScalaNativeModuleJavaModule
  189. def transitiveLocalClasspath: T[Agg[api.PathRef]]

    The transitive version of localClasspath

    The transitive version of localClasspath

    Definition Classes
    JavaModule
  190. def transitiveModuleCompileModuleDeps: Seq[JavaModule]

    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

    Definition Classes
    JavaModule
  191. def transitiveModuleDeps: Seq[JavaModule]

    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

    Definition Classes
    JavaModule
  192. def unmanagedClasspath: T[Agg[api.PathRef]]

    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

    Definition Classes
    JavaModule
  193. def upstreamAssembly2: T[Assembly]

    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

    Definition Classes
    JavaModule
  194. def upstreamAssemblyClasspath: T[Agg[api.PathRef]]

    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

    Definition Classes
    JavaModule
  195. def upstreamCompileOutput: T[Seq[CompilationResult]]

    The upstream compilation output of all this module's upstream modules

    The upstream compilation output of all this module's upstream modules

    Definition Classes
    JavaModuleSemanticDbJavaModule
  196. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  197. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  198. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  199. def zincAuxiliaryClassFileExtensions: T[Seq[String]]

    Files extensions that need to be managed by Zinc together with class files.

    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.

    Definition Classes
    ScalaNativeModuleScalaModuleJavaModule
  200. def zincIncrementalCompilation: T[Boolean]
    Definition Classes
    JavaModuleSemanticDbJavaModule
  201. def zincReportCachedProblems: T[Boolean]

    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.

    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.

    Definition Classes
    JavaModuleSemanticDbJavaModule
  202. def zincWorker: ModuleRef[ZincWorkerModule]

Deprecated Value Members

  1. def upstreamAssembly: T[api.PathRef]

    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

    This implementation is deprecated because of it's return value. Please use upstreamAssembly2 instead.

    Definition Classes
    JavaModule
    Annotations
    @deprecated
    Deprecated

    (Since version Mill 0.11.8) Use upstreamAssembly2 instead, which has a richer return value

Inherited from TestScalaNativeModule

Inherited from ScalaNativeModule

Inherited from ScalaModule

Inherited from ScalaModuleBase

Inherited from TestModule

Inherited from JavaModule

Inherited from SemanticDbJavaModule

Inherited from OfflineSupportModule

Inherited from CoursierModule

Inherited from GenIdeaModule

Inherited from RunModule

Inherited from define.TaskModule

Inherited from JavaModuleBase

Inherited from BspModule

Inherited from WithZincWorker

Inherited from define.Module

Inherited from BaseClass

Inherited from Cacher

Inherited from AnyRef

Inherited from Any

Ungrouped