Move .gitignore out of java directory.