Skip to content

Commit

Permalink
Make dependencies match ones from core. (opensearch-project#417)
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Drobnjakovic <drobnjakovicfilip@gmail.com>
  • Loading branch information
Tjofil committed Apr 6, 2023
1 parent e674ccc commit 7efb6e1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,11 @@ checkstyleTest.enabled = false

dependencies {

def jacksonVersion = "2.14.1"
def jacksonDataBindVersion = "2.14.1"
def jacksonVersion = "${versions.jackson}"
def jacksonDataBindVersion = "${versions.jackson_databind}"
def nettyVersion = "${versions.netty}"
def junitVersion = "${versions.junit}"
def log4jVersion = "${versions.log4j}"

configurations {
// jarHell reports class name conflicts between securemock and mockito-core
Expand All @@ -273,7 +275,7 @@ dependencies {

configurations.all {
resolutionStrategy {
force 'junit:junit:4.13.1'
force "junit:junit:${junitVersion}"
force "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
force "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
force "com.fasterxml.jackson.core:jackson-databind:${jacksonDataBindVersion}"
Expand All @@ -298,8 +300,8 @@ dependencies {
implementation "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonDataBindVersion}"
implementation "com.fasterxml.jackson.module:jackson-module-paranamer:${jacksonVersion}"
implementation(group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.17.1')
implementation(group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.1')
implementation(group: 'org.apache.logging.log4j', name: 'log4j-api', version: "${log4jVersion}")
implementation(group: 'org.apache.logging.log4j', name: 'log4j-core', version: "${log4jVersion}")
implementation(group: 'com.google.errorprone', name: 'error_prone_annotations', version: '2.9.0') {
force = 'true'
}
Expand Down

0 comments on commit 7efb6e1

Please sign in to comment.