Use Gradle wrapper to build Groovy in order to avoid Gradle version conflict between branches