-
Notifications
You must be signed in to change notification settings - Fork 359
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
UpdateGradleWrapper fails for a custom wrapperUri with placeholders #4816
Comments
Welcome @bmuschko! I think this issue may be one of the documentation being out of sync with expectations, but open to feedback as well. During the work on #4491, I had mentioned there that interpolating the exact version and distribution into the I think for this, the best course may be to update the documentation to remove the no longer valid information. What do you think? |
Thanks for clarifying! There's another use case for this I'd like to mention. A company hosts a Gradle Wrapper binary on an internal repository so that consumers don't need to reach out to the public Wrapper service endpoint (as it would be blocked due to security measures). For now, I think the best course of action would be to remove the |
Yep! And that's another perfectly fair use case. I think with the current implementation, we'd want to just rectify the description on With this default implementation, this then allows the recipe to have a default of |
What version of OpenRewrite are you using?
How are you running OpenRewrite?
Moderne.io
Is your project a single module or a multi-module project? Single
Can you share your configuration so that we can rule out any configuration issues?
What is the smallest, simplest way to reproduce the problem?
Run the org.openrewrite.gradle.UpdateGradleWrapper recipe with the declarative YAML format.
What did you see instead?
An error with a stack trace when executing the recipe.
What is the full stack trace of any errors you encountered?
Are you interested in [contributing a fix to OpenRewrite]
Yes
The text was updated successfully, but these errors were encountered: