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

Petr Filaretov @pfilaretov42

About: Passionate software engineer who is always striving for excellence.

Joined:
Sep 1, 2022

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

Publish Date: Aug 29 '23
1 0

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.

Comments 0 total

    Add comment