Fix travis and gradle wrapper