Skip to content

Commit f219382

Browse files
committed
Sets java version to 17 when migrating to Boot 3
1 parent 3ca73bb commit f219382

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

components/sbm-recipes-boot-upgrade/src/main/resources/recipes/boot-2.7-3.0-dependency-version-update.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@
7272
artifactId: spring-boot-dependencies
7373
newVersion: 3.0.0-M3
7474
75+
- type: org.springframework.sbm.build.migration.actions.SetProperty
76+
propertyName: "java.version"
77+
propertyValue: "17"
78+
description: Set Java version to 17
79+
condition:
80+
type: org.springframework.sbm.common.migration.conditions.TrueCondition
81+
7582
- type: org.springframework.sbm.engine.recipe.OpenRewriteDeclarativeRecipeAdapter
7683
condition:
7784
type: org.springframework.sbm.boot.common.conditions.IsSpringBootProject

0 commit comments

Comments
 (0)