Added build dir to gitignore in java nad groovy