com-lihaoyi/mill

A better build tool for Java, Scala and Kotlin: Simpler than Maven, easier than Gradle, with 3-7x faster dev workflows than other JVM build tools

2,790

stars

6,314

commits

Scala

primary language

Sep 9, 2026

updated

mill-build.org/
android
build-system
build-tool
groovy
java
kotlin
mill-plugin
scala
scala-js
scala-native

README

d Maven Central Version

Mill is a build tool that improves upon the tools traditionally used in the JVM ecosystem:

Although the Java compiler is very fast and the Java language is easy to learn, JVM build tools have a reputation for being sluggish, complicated, and confusing. Mill tries to offer a better alternative that gives the Java platform the developer experience it deserves.

If you want to use Mill in your own projects, check out our documentation:

Here is some quick example, so that you can imagine how it looks:

extends: JavaModule
mvnDeps:
- org.thymeleaf:thymeleaf:3.1.1.RELEASE
- org.slf4j:slf4j-nop:2.0.7
> ./mill compile # compile sources into classfiles
...
compiling 1 Java source to...

> ./mill run --text hello
<h1>hello</h1>

> ./mill test
...
Test foo.FooTest.testEscaping finished, ...
Test foo.FooTest.testSimple finished, ...
Test run foo.FooTest finished: 0 failed, 0 ignored, 2 total, ...

Contributors

(top 30 of 249)

lihaoyi

2,715 commits

lefou

1,849 commits

scala-steward

288 commits

lolgab

176 commits

com-lihaoyi/mill

A better build tool for Java, Scala and Kotlin: Simpler than Maven, easier than Gradle, with 3-7x faster dev workflows than other JVM build tools

2,790

stars

6,314

commits

Scala

primary language

Sep 9, 2026

updated

mill-build.org/
android
build-system
build-tool
groovy
java
kotlin
mill-plugin
scala
scala-js
scala-native

README

d Maven Central Version

Mill is a build tool that improves upon the tools traditionally used in the JVM ecosystem:

Although the Java compiler is very fast and the Java language is easy to learn, JVM build tools have a reputation for being sluggish, complicated, and confusing. Mill tries to offer a better alternative that gives the Java platform the developer experience it deserves.

If you want to use Mill in your own projects, check out our documentation:

Here is some quick example, so that you can imagine how it looks:

extends: JavaModule
mvnDeps:
- org.thymeleaf:thymeleaf:3.1.1.RELEASE
- org.slf4j:slf4j-nop:2.0.7
> ./mill compile # compile sources into classfiles
...
compiling 1 Java source to...

> ./mill run --text hello
<h1>hello</h1>

> ./mill test
...
Test foo.FooTest.testEscaping finished, ...
Test foo.FooTest.testSimple finished, ...
Test run foo.FooTest finished: 0 failed, 0 ignored, 2 total, ...

Contributors

(top 30 of 249)

lihaoyi

2,715 commits

lefou

1,849 commits

scala-steward

288 commits

lolgab

176 commits

Languages

Scala

88.6%

Java

5.0%

Kotlin

1.8%

CSS

1.2%