You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 5.0.0-alpha.2 changes the MockWebServer Maven coordinate and package name.
In this release MockWebServer has a new Maven coordinate and package name. A longstanding problem with MockWebServer has been its API dependency on JUnit 4. We’ve reorganized things to remove that dependency while preserving backwards compatibility.
What problem are you trying to solve?
Version 5.0.0-alpha.2 changes the MockWebServer Maven coordinate and package name.
What precondition(s) should be checked before applying this recipe?
None.
Describe the situation before applying the recipe
Old dependency & package in use.
Describe the situation after applying the recipe
Dependency & package updated.
Have you considered any alternatives or workarounds?
Not really
Any additional context
Source: https://square.github.io/okhttp/changelogs/changelog/#version-500-alpha2
For the implementation we could likely reuse these existing recipes configured through Yaml:
https://docs.openrewrite.org/recipes/java/changepackage
https://docs.openrewrite.org/recipes/java/dependencies/changedependency
That way at most we'll need some tests if we want to be sure we correctly replace these, but no code otherwise.
The text was updated successfully, but these errors were encountered: