Adapting a bit gitignore and build.gradle