Updated .gitignore and updated build.gradle to use latest gradle version