Travis problems regarding java8 and gradle