DEV Community

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

Posted on

1

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

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.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay