Skip to content

Commit

Permalink
removing explicit jackson dependencies (#1352)
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <[email protected]>

Signed-off-by: Shenoy Pratik <[email protected]>
(cherry picked from commit d2a17a3)
  • Loading branch information
ps48 authored and github-actions[bot] committed Dec 21, 2022
1 parent 18b398f commit 10635ae
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions opensearch-observability/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ buildscript {
common_utils_version = System.getProperty("common_utils.version", opensearch_build)
kotlin_version = System.getProperty("kotlin.version", "1.6.0")
job_scheduler_version = System.getProperty("job_scheduler.version", opensearch_build)
jackson_version = "2.14.1"
}

repositories {
Expand Down Expand Up @@ -116,7 +115,6 @@ configurations.all {
resolutionStrategy {
force "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}"
force "org.jetbrains.kotlin:kotlin-stdlib-common:${kotlin_version}"
force "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:${jackson_version}"
force "org.mockito:mockito-core:4.6.1"
}
}
Expand Down Expand Up @@ -160,11 +158,8 @@ dependencies {
implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
implementation 'org.json:json:20220924'
implementation group: 'com.github.wnameless.json', name: 'json-flattener', version: '0.15.1'
// json-base, jackson-databind, jackson-annotations are only used by json-flattener.
// see https://github.com/opensearch-project/OpenSearch/issues/5395.
// jackson is coming from core now, https://github.com/opensearch-project/opensearch-plugins/issues/191
implementation group: 'com.github.wnameless.json', name: 'json-base', version: '2.2.1'
implementation "com.fasterxml.jackson.core:jackson-databind:${jackson_version}"
implementation "com.fasterxml.jackson.core:jackson-annotations:${jackson_version}"
compileOnly "${group}:opensearch-job-scheduler-spi:${job_scheduler_version}"
testImplementation(
'org.assertj:assertj-core:3.16.1',
Expand Down

0 comments on commit 10635ae

Please sign in to comment.