fix gradle and travis