Add .gradle to .gitignore and remove temporary files in the .gradle directory