com-lihaoyi / mill

Mill is a fast JVM build tool that supports Java and Scala. 2-3x faster than Gradle and 5-10x faster than Maven for common workflows, Mill aims to make your project’s build process performant, maintainable, and flexible
https://mill-build.org/
MIT License
2.04k stars 323 forks source link

`package.mill` support should require explicitly enablement #3409

Open lefou opened 2 weeks ago

lefou commented 2 weeks ago

Currently, Mill is always scanning for module.sc files. We already discussed and agreed on the enablement of sub-modules through module.sc files via an $-import in PR https://github.com/com-lihaoyi/mill/pull/3213.

What could be a good name for the import? One of the candidates was submodules:

import $submodules._
lihaoyi commented 2 weeks ago

import $submodules._ works for me. Eventually we may have some other way of passing flags, but for now this will do