- Graal Native Launchers by Default: Mill 1.0.0 defaults to using Graal-Native Image launchers, reducing command line invocation overhead. Running
./mill
commands can complete in as little as 100ms. Mill previously used long-lived background daemons to mitigate startup issues, but the Graal Native Image launcher makes the command-line experience as snappy as a native binary. Mill can also build Java, Scala, and Kotlin apps into native images. - JVM-free Installation and Bootstrapping: Using a Graal native launcher means Mill's launcher no longer requires a pre-installed JVM. The launcher binary is self-contained and can download and cache the necessary JVM. Mill can manage JVM installations for itself and project modules, and is one of the few truly zero-install CLI tools. Users can run
./mill
on any clean machine and it will bootstrap everything necessary. - Bash/Zsh Tab-Completion: After running
./mill mill.tabcomplete/install
, users can use<TAB>
to auto-complete Mill modules and tasks from the command-line. This improves the user experience by making it easier to interact with the build from the command line. - Task Filesystem Sandbox Enforcement: Mill build files contain JVM code, and there was previously no enforcement of expectations about filesystem writes. In Mill 1.0.0, most common filesystem read/write APIs are instrumented to check for misuse, raising an error if violated. Mill also supports build header comment syntax for "early" configuration, consolidating various configuration styles into a single block.
- Mill Support for Kotlin Builds is now Stable: Mill 1.0.0 includes substantial improvements for building Kotlin projects, including main class discovery, compiler plugins, and BuildInfo support. Kotlin support is no longer experimental, and binary-compatibility enforcement is enabled for
mill.kotlinlib
. Users are encouraged to try Mill in their Kotlin projects and provide feedback. - Mill Support for Android Builds: A lot of work went into improving Mill's support for Android builds in 1.0.0. It has been fleshed out into a robust framework that can build many sample Android apps. The work was done by VasLabs, and the Mill Android documentation is being updated. Users interested in an alternative Android build tool should give Mill a try and provide feedback.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。