Skip to content

Commit 20d1c86

Browse files
[Backport 2.x] Add jackson-databind and jackson-annotations (#652)
* Add jackson-databind and jackson-annotations (#650) Signed-off-by: Rupal Mahajan <[email protected]> (cherry picked from commit cc34ae8) * Resolve mockito-core conflict Signed-off-by: Rupal Mahajan <[email protected]> --------- Signed-off-by: Rupal Mahajan <[email protected]> Co-authored-by: Rupal Mahajan <[email protected]>
1 parent 61bbdb3 commit 20d1c86

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ buildscript {
2727
common_utils_version = System.getProperty("common_utils.version", opensearch_build)
2828
job_scheduler_version = System.getProperty("job_scheduler.version", opensearch_build)
2929
kotlin_version = System.getProperty("kotlin.version", "1.6.0")
30+
jackson_version = "2.14.1"
3031
}
3132

3233
repositories {
@@ -89,7 +90,7 @@ publishing {
8990
developers {
9091
developer {
9192
name = 'OpenSearch'
92-
url = 'https://github.com/opensearch-project/dashboards-reports'
93+
url = 'https://github.com/opensearch-project/reporting'
9394
}
9495
}
9596
}
@@ -165,8 +166,10 @@ dependencies {
165166
implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
166167
implementation "org.json:json:20180813"
167168
implementation group: 'com.github.wnameless.json', name: 'json-flattener', version: '0.15.1'
168-
// json-base is transitive dependencies by json-flattener
169+
// json-base, jackson-databind, jackson-annotations are transitive dependencies by json-flattener
169170
implementation group: 'com.github.wnameless.json', name: 'json-base', version: '2.2.1'
171+
implementation "com.fasterxml.jackson.core:jackson-databind:${jackson_version}"
172+
implementation "com.fasterxml.jackson.core:jackson-annotations:${jackson_version}"
170173
implementation 'org.jsoup:jsoup:1.15.3'
171174
implementation 'com.google.code.gson:gson:2.8.9'
172175
implementation "org.jetbrains.kotlin:kotlin-test:${kotlin_version}"
@@ -179,7 +182,7 @@ dependencies {
179182
testImplementation "org.opensearch.test:framework:${opensearch_version}"
180183
testImplementation "org.jetbrains.kotlin:kotlin-test:${kotlin_version}"
181184
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
182-
testImplementation "org.mockito:mockito-core:4.7.0"
185+
testImplementation "org.mockito:mockito-core:5.1.0"
183186
testImplementation "org.mockito:mockito-junit-jupiter:4.7.0"
184187
testImplementation 'com.google.code.gson:gson:2.8.9'
185188

0 commit comments

Comments
 (0)