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. (#1104)

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 568dff8 commit 8f5478c
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 @@ -52,7 +52,7 @@ subprojects { project ->
}

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 8f5478c

Please sign in to comment.