Skip to content

Commit

Permalink
Don't use enforced platform. Also add the jackson-bom version to spri…
Browse files Browse the repository at this point in the history
…ng dependency management.
  • Loading branch information
HuiJun committed Mar 7, 2024
1 parent eef5725 commit cb5b9aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ subprojects {

group = "org.openmbee.mms"
version = rootProject.version
ext['jackson-bom.version'] = jacksonVersion

Map<String, String> commonDependencies = rootProject.ext.commonDependencies

Expand Down Expand Up @@ -148,7 +149,7 @@ subprojects {
}

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

Expand Down
2 changes: 1 addition & 1 deletion data/data.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ dependencies {
api commonDependencies.'hibernate-core'

testImplementation commonDependencies.'spring-boot-starter-test'
}
}

0 comments on commit cb5b9aa

Please sign in to comment.