Add missing gradle/templates/.gitignore.