configure gradle correctly for travis