Migrate to MockWebServer3 (core module)

MSAL

Migrate from the legacy mockwebserver artifact to mockwebserver3 core module without JUnit dependency.

org.openrewrite.okhttp.UpgradeMockWebServer3
mod run . --recipe=org.openrewrite.okhttp.UpgradeMockWebServer3

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change Gradle or Maven dependency com.squareup.okhttp3:mockwebserver
  2. Rename package name okhttp3.mockwebserver to mockwebserver3