[Tiny] How to Upgrade Gradle Wrapper Using Custom Gradle Distribution

Petr Filaretov - Aug 29 '23 - - Dev Community

In one of the previous posts, I wrote about upgrading Gradle Wrapper.

However, it does not cover the case when you have your own artefact repository, for instance, Artifactory.

In this case use --gradle-distribution-url parameter of the wrapper task to specify the custom Gradle distribution:

  ./gradlew wrapper --gradle-distribution-url=https\://artifactory.example.com/repo/gradle/gradle-8.3-bin.zip
Enter fullscreen mode Exit fullscreen mode

Dream your code, code your dream.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player