Skip to content

Commit

Permalink
Merge pull request #270 from Open-MBEE/feature/jacksonBom
Browse files Browse the repository at this point in the history
Add Jackson BOM
  • Loading branch information
dlamoris authored Mar 6, 2024
2 parents c625c0c + eda4fff commit 38022d9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 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:$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",
'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",
'spring-boot-starter-test' : 'org.springframework.boot:spring-boot-starter-test:2.2.4.RELEASE'
]
}
Expand Down Expand Up @@ -146,6 +146,10 @@ subprojects {
exclude group: "org.slf4j", module: "slf4j-log4j12"
exclude group: "log4j", module: "log4j"
}

dependencies {
implementation enforcedPlatform("com.fasterxml.jackson:jackson-bom:${jacksonVersion}")
}
}

signing {
Expand All @@ -157,4 +161,4 @@ subprojects {
sign publishing.publications.mavenJava
}
}
}
}
2 changes: 1 addition & 1 deletion example/example.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ configurations {
}
}
bootJar {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
duplicatesStrategy = DuplicatesStrategy.WARN
}
ext['elasticsearch.version'] = "$elasticVersion"
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ springBootVersion=2.7.17
springFrameworkVersion=5.3.30
springSecurityVersion=5.7.10
springDataVersion=2.7.14
jacksonVersion=2.13.3
jacksonVersion=2.16.1
elasticVersion=7.8.1

0 comments on commit 38022d9

Please sign in to comment.