Local linux env vars from settings.gradle?

(Björn Strömberg) #1

to get gcc to output english i have to use
LANG=en_US.UTF-8 gradle task

as my workstation got a user locale thats not en_US.UTF-8…

is there a way to set LANG=en_US.UTF-8 to just the gradle process from settings.gradle?
or a global gradle file in ~/.gradle/[…]