Trying to do gradle wrapper with 1.10 but I get the following error:
FAILURE: Build failed with an exception.
What went wrong: Task ‘wrapper’ not found in project ‘:blah’.
Try: Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 4.84 secs
It works if a define a wrapper task and set the gradleVersion to 1.10
I thought you were suppose to be able to do just gradle wrapper since 1.7 without having to define a task. The docs for latest (1.10) suggests you need to define the wrapper task as well.
I think the issue was that I was in a child project and tried to create a gradle wrapper in the child. It works if this is just a singleton or I’m in the parent project.