DELTA-1452

ClearGroupCache does not clear gradle 1.11 caches

refactoring to remove the use of eachDirRecurse
refactoring to make regex syntax consistent