Building gradle sample in Travis build