Mill: A Better JVM Build Tool

d Maven Central Version

Mill is a JVM build tool that supports Java, Scala, and Kotlin:

Although the Java compiler is very fast and the Java language is easy to learn, JVM build tools have a reputation for being sluggish and confusing. Mill tries to offer a better alternative, letting your build system take full advantage of the Java platform’s performance and usability.

If you prefer a video introduction to Mill, see:

For more discussion on the motivation behind the project, see Why Use Mill?

Getting Started

To get started using Mill for the first time, or migrating an existing JVM codebase (built using Maven, Gradle, or SBT) to Mill, see:

Or see the language-specific introductory documentation linked below:

Mill Features

If you prefer a video introduction to Mill, see:

Mill is used to build many real-world projects, such as the C3P0 JDBC Connection Pool, Coursier dependency resolver, Ammonite REPL, and the SpinalHDL and Chisel hardware design frameworks. Mill can be used for applications built on top of common JVM frameworks like Spring Boot (both in Java and in Kotlin), Micronaut, Ktor, or Http4S.

Mill borrows ideas from other tools like Maven, Gradle, Bazel, but tries to learn from the strengths of each tool and improve on their weaknesses. For comparisons with existing build tools, check out these pages:

Tool & Framework Support

Mill supports most common JVM development workflows and tools built in, so you can get very far before you need to reach for third-party plugins or write custom code to extend your build pipelines. The table below links to the relevant part of the documentation and examples for each tool:

When the time comes that you do need something not in its builtin feature set, Mill also has a rich ecosystem of third party plugins for less common use cases:

Contributing and Community

If you want to contribute to Mill, or are interested in the fundamental ideas behind Mill rather than the user-facing benefits discussed above, check out the page on Mill Design Principles. In particular, this video is a must-watch to help you understand the fundamental concepts behind Mill and why they are interesting:

To engage Mill with the community, you can use the channels below:

Mill maintains an open list of issue bounties below, with payouts ranging from 500USD to 3000USD per issue. Feel free to look through the list and try your hand at any bounties that may interest you

Commercial support and services related to Mill are available if you need help with training, adoption, or maintenance in your organization. Email info@mill-build.org with details on what you need and we can make an arrangement.