Fixed that the output directory from Ant is not ignored by git and failed to gradle assemble.