title: What's the proper way to upgrade gradle in Android Studio?
body: <p>Most resources online say that you update gradle by simply updating the distribution URL. This is the answer all over Stack Overflow and all over.
  Codepath also just says that a url update is enough: <a href="https://guides.codepath.com/android/Getting-Started-with-Gradle#upgrading-gradle" rel="nofollow noreferrer">https://guides.codepath.com/android/Getting-Started-with-Gradle#upgrading-gradle</a></p>
  
  <p>I've seen scattered throughout a couple of answers that to upgrade gradle you need to run a gradle update script from the command line <code>./gradlew wrapper --gradle-version x.x.x</code>.</p>
  
  <p>I haven't been able to find documentation that says "This is how you update gradle". On gradles website you can see, "This is how you add the gradle wrapper". I guess I'm not sure what is enough, and I feel like a lot of people are doing it the wrong way, and maybe are not benefiting from performance and speed increases in gradle.</p>
  
  <p>Any canonical answer on this? Someone from the tools team want to comment?</p>