How can I access environment variables (either user level or system level) in gradle java build script.
I am new to gradle and I am trying to build my project using the grad
home = System.getenv('Third_Party')
task env_read << {
println "$System.env.HOME"
//Other way of accessing the environment variable.
println System.getenv('Third_Party')
}