JdkCommandsModule

mill.util.JdkCommandsModule
trait JdkCommandsModule extends Module

A trait providing convenient access to common JDK command-line tools.

These commands use the JDK specified by jdkCommandsJavaHome, which can be overridden to use a different JDK installation.

Attributes

Source
JdkCommandsModule.scala
Graph
Supertypes
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes
trait JavaModule
trait JavaModule.this.JavaTests
trait KspModule.this.KspTests
trait ScalaModule.this.ScalaTests
trait SbtModule.this.SbtTests
trait MavenModule.this.MavenTests
trait FlywayModule
trait JmhModule
trait GroovyModule
trait GroovyTests0
class Junit4
class Junit5
class Spock
class TestNg
trait Base
class GroovyModule
trait BomModule
trait JavaTests0
trait KotlinTests0
class Junit4
class Junit5
class TestNg
trait ScalaTests0
class Junit4
class Junit5
class Munit
class ScalaCheck
class ScalaTest
class Specs2
class TestNg
class Utest
class Weaver
class ZioTest
class Junit4
class Junit5
class TestNg
trait JlinkModule
trait MavenModule
trait RevapiModule
trait KtfmtModule
object KtfmtModule
trait KtlintModule
object KtlintModule
trait KotlinModule
trait DetektModule
trait KoverModule
trait KspModule
trait Base
class KotlinModule
trait Base
class JavaModule
trait Base
class Raw
class ScalaModule
trait MainModule
Show all

Members list

Type members

Inherited classlikes

object moduleInternal 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

Attributes

Inherited from:
Module
Source
Module.scala
Supertypes
class Internal
class Object
trait Matchable
class Any

Value members

Concrete methods

def javaRun(args: String*): Command[Unit]

Runs the java command from Mill's JVM

Runs the java command from Mill's JVM

Attributes

Source
JdkCommandsModule.scala
def javac(args: String*): Command[Unit]

Runs the javac command from Mill's JVM

Runs the javac command from Mill's JVM

Attributes

Source
JdkCommandsModule.scala
def javap(args: String*): Command[Unit]

Runs the javap command from Mill's JVM

Runs the javap command from Mill's JVM

Attributes

Source
JdkCommandsModule.scala

The Java home to use for JDK commands. If None, uses the default JDK (typically the one running Mill).

The Java home to use for JDK commands. If None, uses the default JDK (typically the one running Mill).

Attributes

Source
JdkCommandsModule.scala
def jfr(args: String*): Command[Unit]

Runs the jfr command from Mill's JVM

Runs the jfr command from Mill's JVM

Attributes

Source
JdkCommandsModule.scala
def jps(args: String*): Command[Unit]

Runs the jps command from Mill's JVM

Runs the jps command from Mill's JVM

Attributes

Source
JdkCommandsModule.scala
def jstack(args: String*): Command[Unit]

Runs the jstack command from Mill's JVM

Runs the jstack command from Mill's JVM

Attributes

Source
JdkCommandsModule.scala

Inherited methods

Attributes

Inherited from:
BaseClass
Source
Module.scala
def moduleDir: Path

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala
override def toString: String

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