Skip to content

Commit

Permalink
Add unlessUsing to RemoveDependency to not break compilation (#624)
Browse files Browse the repository at this point in the history
* Add `unlessUsing` to `RemoveDependency` to not break compilation

* Apply suggestions from code review

Co-authored-by: Jacob van Lingen <[email protected]>

---------

Co-authored-by: Jacob van Lingen <[email protected]>
  • Loading branch information
timtebeek and jevanlingen authored Nov 13, 2024
1 parent d60e503 commit 45a49eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/META-INF/rewrite/spring-framework-53.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@ recipeList:
- org.openrewrite.java.dependencies.RemoveDependency:
groupId: org.aspectj
artifactId: aspectjrt
unlessUsing: org.aspectj.lang.annotation.*
- org.openrewrite.java.dependencies.RemoveDependency:
groupId: aopalliance
artifactId: aopalliance
unlessUsing: org.aopalliance.aop.*
- org.openrewrite.java.dependencies.RemoveDependency:
groupId: cglib
artifactId: cglib
unlessUsing: net.sf.cglib.core.*
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.framework.UseObjectUtilsIsEmpty
Expand Down

0 comments on commit 45a49eb

Please sign in to comment.