Removes gradle dirs.