Using gradle, how to write to a properties file the current git branch so that it gets into the application?