https://discuss.gradle.org/t/how-to-execute-shell-command-source-or-dot-doesnt-work-with-exec/7271/7
exec { executable "sh" args "-c","source ${root}/etc/localBuildPorts" } println System.getenv()['FINAL_LOCALTEST_TOMCAT_HTTP_PORT']