Skip to content

Commit

Permalink
fix(dependency): To enable controlled conflict resolution of direct a…
Browse files Browse the repository at this point in the history
…nd transitive dependencies version using kork-bom for upgrading the spring-boot 2.3.x. (#1158)

While upgrading the spring-boot 2.2.x to 2.3.x, encountered issue of uncontrolled conflict resolution of jackson and kotlin dependencies in gate (spinnaker/gate#1505). In order to avoid any such issue with other components for upgrades to spring-boot 2.3.x as well as for any future spring-boot upgrades, we can introduce strict adherence of imported maven kork-bom by replacing platform to enforcedPlatform closure.
  • Loading branch information
j-sandy authored Mar 10, 2022
1 parent 7d2f534 commit 0e4e085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ subprojects {
}

dependencies {
implementation platform("io.spinnaker.kork:kork-bom:$korkVersion")
implementation enforcedPlatform("io.spinnaker.kork:kork-bom:$korkVersion")
annotationProcessor platform("io.spinnaker.kork:kork-bom:$korkVersion")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
testAnnotationProcessor platform("io.spinnaker.kork:kork-bom:$korkVersion")
Expand Down

0 comments on commit 0e4e085

Please sign in to comment.