Update gitignore and build.gradle files