Getting a live view of environment variables (Gradle and JDK 9)

Martin Buchholz martinrb at
Tue May 16 20:29:42 UTC 2017

On Tue, May 16, 2017 at 1:03 PM, Jonathan Bluett-Duncan <
jbluettduncan at> wrote:

> Hi Cédric,
> I don't know if it's been considered, but has anyone from the Gradle team
> asked the Bazel team about this problem?

I'm not on the Bazel team, but ... they are focused on being hermetic - if
they had any kind of build server process, I guess it would simply not
incorporate user environment variables, which are highly non-hermetic.

> They may have useful insight about this problem with `System.getenv`,
> considering that Bazel is apparently very fast and (partially) written in
> Java.

More information about the core-libs-dev mailing list