Fix for travis ci using gradle wrapper