com-lihaoyi / mill

Mill is a graph-based JVM build tool that supports Java and Scala. Mill aims to make your project’s build process performant, maintainable, and flexible

Home Page:https://mill-build.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

System.getEnv does not update between different runs

Baccata opened this issue · comments

This is most likely a downside of keeping a daemon jvm, but it makes it impossible to use environment variables as inputs.

Maybe the mill launcher should pass the full environment to the program as a hidden parameter, which would allow for mill to provide a default Map[String, String] input ?