Update gradle build file and gitignore