Skip to content

Commit

Permalink
Don't use the BOM and Spring Dependency Management together.
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiJun committed Mar 7, 2024
1 parent cb5b9aa commit 95a9d95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
12 changes: 4 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ ext {
'spring-aspects' : "org.springframework:spring-aspects:$springFrameworkVersion",
'spring-data-commons' : "org.springframework.data:spring-data-commons:$springDataVersion",
'spring-data-jpa' : "org.springframework.data:spring-data-jpa:$springDataVersion",
'jackson-annotations' : "com.fasterxml.jackson.core:jackson-annotations",
'jackson-databind' : "com.fasterxml.jackson.core:jackson-databind",
'jackson-datatype-hibernate5' : "com.fasterxml.jackson.datatype:jackson-datatype-hibernate5",
'jackson-datatype-jsr310' : "com.fasterxml.jackson.datatype:jackson-datatype-jsr310",
'jackson-annotations' : "com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion",
'jackson-databind' : "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion",
'jackson-datatype-hibernate5' : "com.fasterxml.jackson.datatype:jackson-datatype-hibernate5:$jacksonVersion",
'jackson-datatype-jsr310' : "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonVersion",
'spring-boot-starter-test' : 'org.springframework.boot:spring-boot-starter-test:2.2.4.RELEASE'
]
}
Expand Down Expand Up @@ -147,10 +147,6 @@ subprojects {
exclude group: "org.slf4j", module: "slf4j-log4j12"
exclude group: "log4j", module: "log4j"
}

dependencies {
api platform("com.fasterxml.jackson:jackson-bom:${jacksonVersion}")
}
}

signing {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ springFrameworkVersion=5.3.31
springSecurityVersion=5.7.11
springDataVersion=2.7.18
jacksonVersion=2.16.1
jacksonBomVersion=2.16.1
elasticVersion=7.8.1

0 comments on commit 95a9d95

Please sign in to comment.