recursive diff function ignore .gradle