Fix CI build by using Gradle wrapper.