-
Notifications
You must be signed in to change notification settings - Fork 376
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
Change GradleDependency recipe throws recipe validation error #5105
Comments
Tried the
![]() |
The problem here is that we are using Jackson to update the recipe options and this recipe happens to have some Also note that it is not only the fact that the recipe has a |
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
Single module project. Using rewrite-gradle plugin
Can you share your configuration so that we can rule out any configuration issues?
Copied sample spec from https://docs.openrewrite.org/recipes/gradle/changedependency#usage
type: specs.openrewrite.org/v1beta/recipe
name: com.yourorg.ChangeDependencyExample
displayName: Change Gradle dependency example
recipeList:
oldGroupId: org.openrewrite.recipe
oldArtifactId: rewrite-testing-frameworks
newGroupId: corp.internal.openrewrite.recipe
newArtifactId: rewrite-testing-frameworks
newVersion: 29.X
versionPattern: '-jre'
Is your project public? If so, can you share a link to it?
Executed the sample recipe via IntelliJ using OpenRewrite plugin
What is the smallest, simplest way to reproduce the problem?
What did you expect to see?
Expected to see the recipe executed successfully, even if there were no changes to report.
What did you see instead?
Exception on execution
What is the full stack trace of any errors you encountered?
The text was updated successfully, but these errors were encountered: