|There's more than one way to do things|
Re: config env script help building gradle from perl script (system/open tips needed)by Corion (Pope)
|on Jun 11, 2013 at 17:11 UTC||Need Help??|
Why not simply write a batch file (using Perl) that invokes the environment setup, and afterwards invokes that gradle command?
As an alternative, you could try a technique like Get default login environment except for Windows, and then stuff these changes into %ENV.