Fixed travis and gradle config