com-lihaoyi / mill

Mill is a fast JVM build tool that supports Java and Scala. 2-4x 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.17k stars 343 forks source link

`runBackground` should receive `args` as `Task`s as `run` does #3895

Open lolgab opened 3 hours ago

lolgab commented 3 hours ago

Nowadays it's impossible to make runBackground's args depend on other tasks.

lolgab commented 2 hours ago

The workaround is to use runBackgroundTask but UX is not as good as runBackground since you need to also pass the mainClass.