I have a gradle project in Eclipse that was first configured not to use the gradle wrapper. So, in the command line, I run:
gradle wrapper
to