I think there’s some confusion here. The wrapper task is there by default, you just need to configure it. If you create a new one with the same name, you are replacing the existing one, which leads to it disappearing from the task view because your new one probably doesn’t specify a group.
When you write wrapper.gradleVersion
, all you are doing is configuring the existing wrapper
task.