[build] Update to gradle 1.8