Skip to content
com-lihaoyiPublic

About

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

Topics

Resources

Code of conduct

Stars

2.8k stars

Watchers

46 watching

Forks

Latest commit

 

History

6,531 Commits

Folders and files

Repository files navigation

logo Mill: A Better Build Tool for Java, Scala, & Kotlin

d Maven Central Version

Table of Contents

Overview

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

Git Branch Overview

Branch Status Description

main

active

Current development branch, targeting Mill 1.4.x

1.3.x

active

Maintenance branch targeting Mill 1.3.x

discontinued-2.x

discontinued

POC branch developed between 1.1.x and 1.3.x featuring remote cache support and relocatable out support. Some API changes are not favorable, required experimental features of os-lib were removed upstream. All other changes were ported to the 1.3.x and the main branch.

1.1.x

on-demand

Maintenance branch targeting Mill 1.1.x

0.12.x

on-demand

Maintenance branch targeting Mill 0.12.x

0.11.x

legacy

Maintenance branch targeting Mill 0.11.x

0.10.x

legacy

Maintenance branch targeting Mill 0.10.x

0.9.x

legacy

Maintenance branch targeting Mill 0.9.x

About

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

Topics

Resources

Code of conduct

Stars

2.8k stars

Watchers

46 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages