Scripting on the JVM with Scala
summary
Claim: Mill now makes Scala viable for real scripting by turning each .scala script into a Mill module with full build features. Mill 1.1.x supports declarative builds via build.mill.yaml, script dependencies and unit tests between scripts, fast startup (scripts load in a few hundred milliseconds), and actions like assembly, precompile, native-image and IDE jump‑to‑definition. Ammonite is being deprecated; Scala CLI exists but Mill uniquely bundles pretty printer, OS lib and UPickle and integrates with existing projects and Maven resolution.
AI-written summary · about
chapters (9)
- 0:00Scala scripting intro
- 1:26JVM scripting importance
- 5:15Early Scala scripting
- 9:30Ammonite rise and limits
- 15:29Scala CLI improvements
- 17:35Mill declarative builds
- 20:42Mill scripts in practice
- 27:09Mill script advanced features
- 29:15Future of build tools
related talks
44mA Deep Dive into the Mill Scala Build Tool
45mSimpler Scala Builds with Functional and Object-Oriented Programming
47mEasy Scala Builds with the Mill Build Tool
53mScala with batteries included
50mHow to Test a Milion Lines of Code without Writing a Single Test
02mSCALAR 2023
47mManaging micro libraries with Scala CLI
48mMassively Parallel Distributed Scala Compilation And You
