-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom distributionUrl
in gradle properties should be upgraded in place
#4445
Conversation
…ding gradle wrapper
distributionUrl
should be upgraded in placedistributionUrl
in gradle properties should be upgraded in place
…sting distribution url and update the version assuming the user provided a version they know exists.
Hi @Laurens-W! If I'm not mistaken I think this is only ever a possible state to reach if you're using the UpdateGradleWrapper recipe directly. At that point, is there any reason to not just configure the |
rewrite-gradle/src/main/java/org/openrewrite/gradle/UpdateGradleWrapper.java
Outdated
Show resolved
Hide resolved
Hey! |
f04b2a4
to
624883f
Compare
rewrite-gradle/src/main/java/org/openrewrite/gradle/UpdateGradleWrapper.java
Outdated
Show resolved
Hide resolved
rewrite-gradle/src/main/java/org/openrewrite/gradle/UpdateGradleWrapper.java
Outdated
Show resolved
Hide resolved
…leWrapper.java Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
rewrite-gradle/src/main/java/org/openrewrite/gradle/UpdateGradleWrapper.java
Show resolved
Hide resolved
…e.org, taking any provided wrapperUri into account
…es.gradle.org, taking any provided wrapperUri into account" This reverts commit 8532393.
What's changed?
Add testcase that validates a custom
distributionUrl
for the gradle wrapper can be updated in placeWhat's your motivation?
Anything in particular you'd like reviewers to focus on?
Anyone you would like to review specifically?
@timtebeek
Have you considered any alternatives or workarounds?
Any additional context
Checklist