diff --git a/plugin/build.gradle b/plugin/build.gradle index 79a4c6191c..b9e0ed9e6b 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -44,7 +44,7 @@ dependencies { compile "org.opensearch.client:opensearch-rest-client:${opensearch_version}" compile "org.opensearch:common-utils:${common_utils_version}" compile("com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}") - compile("com.fasterxml.jackson.core:jackson-databind:${versions.jackson}") + compile("com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}") implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre' implementation group: 'com.google.code.gson', name: 'gson', version: '2.9.0' @@ -253,6 +253,8 @@ configurations.all { resolutionStrategy.force 'junit:junit:4.12' resolutionStrategy.force 'org.apache.commons:commons-lang3:3.10' resolutionStrategy.force 'commons-logging:commons-logging:1.2' + // Resolve conflict with org.opensearch:opensearch:1.3.4-SNAPSHOT which using 2.13.2 + resolutionStrategy.force 'com.fasterxml.jackson.core:jackson-databind:2.13.2.2' } apply plugin: 'nebula.ospackage'