Update gradle to 1.8 for travis