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

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 1a2645c commit 19d6ee9
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 @@ -47,7 +47,7 @@ subprojects {
apply plugin: "java-library"

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"))
testAnnotationProcessor(platform("io.spinnaker.kork:kork-bom:$korkVersion"))
implementation("org.slf4j:slf4j-api")
Expand Down

0 comments on commit 19d6ee9

Please sign in to comment.