Skip to content

Commit

Permalink
SDI-318 Declare bom correctly with the dependencyManagement plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehalmamoj committed Dec 12, 2022
1 parent 9c8ca87 commit d187592
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hmpps-sqs-spring-boot-autoconfigure/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@ ext["snakeyaml.version"] = "1.33"
// Pinned to counter various CVEs. Please remove once Spring Boot brings in at least this version.
ext["spring-security.version"] = "5.7.5"

dependencyManagement {
imports {
mavenBom("software.amazon.awssdk:bom:2.18.28")
}
}

dependencies {
implementation("com.amazonaws:amazon-sqs-java-messaging-lib:2.0.1")
implementation(platform("software.amazon.awssdk:bom:2.18.28"))
// implementation(platform("software.amazon.awssdk:bom:2.18.28"))
implementation("software.amazon.awssdk:sns")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-webflux")
Expand Down

1 comment on commit d187592

@tim-str
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool - exactly right

Please sign in to comment.