Skip to content

Commit

Permalink
Upgrade Rewrite to 2.18 BOM
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Sep 7, 2024
1 parent 8044224 commit 50ebd80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion headless-services/commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<commons-codec-version>1.13</commons-codec-version>

<!-- Rewrite specific properties -->
<rewrite-recipe-bom.version>2.17.0</rewrite-recipe-bom.version>
<rewrite-recipe-bom.version>2.18.0</rewrite-recipe-bom.version>
<gradle.version>8.4</gradle.version>
<rewrite-gradle-tooling-model.version>2.3.1</rewrite-gradle-tooling-model.version>
<jgit-version>6.9.0.202403050737-r</jgit-version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class RewriteRecipeRepositoryTest {
@Test
void listSubRecipe() throws Exception {
List<Recipe> recipes = recipeRepo.getSubRecipes("org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_1", List.of()).get();
assertEquals(9, recipes.size());
assertEquals(10, recipes.size());

recipes = recipeRepo.getSubRecipes("org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_1", List.of(0, 2)).get();
assertEquals(19, recipes.size());
Expand Down Expand Up @@ -114,7 +114,7 @@ void createRecipeFromSelectionDescriptor() throws Exception {
assertEquals(2, boot31.getRecipeList().size());

Recipe security61 = boot31.getRecipeList().get(1);
assertThat(security61.getRecipeList().size()).isGreaterThan(5);
assertThat(security61.getRecipeList().size()).isGreaterThanOrEqualTo(5);

Recipe boot30 = boot31.getRecipeList().get(0);
assertEquals("org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_0", boot30.getName());
Expand Down

0 comments on commit 50ebd80

Please sign in to comment.