Skip to content

Commit

Permalink
On of the spring 2.x dependencies removed guava. Add an explicit depe…
Browse files Browse the repository at this point in the history
…ndency for it if it is in use
  • Loading branch information
sambsnyd committed Jan 17, 2024
1 parent 74acf49 commit 2ce6e11
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/META-INF/rewrite/spring-boot-24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ recipeList:
artifactId: spring-boot-starter-test
exclusionGroupId: junit
exclusionArtifactId: junit
- org.openrewrite.java.dependencies.AddDependency:
groupId: com.google.guava
artifactId: guava
version: "28.2"
versionPattern: -jre
onlyIfUsing: com.google.common.*

# Use recommended replacements for deprecated APIs
- org.openrewrite.java.spring.boot2.MigrateUndertowServletWebServerFactoryIsEagerInitFilters
Expand Down

0 comments on commit 2ce6e11

Please sign in to comment.