Update gradle, .gitignore and remove cached files