Add .gradle to global gitignore
Use 2 space indent for groovy