Added gradle support for linux/osx