partially updated to 1.7.2 and add gradle