@@ -25,8 +25,9 @@ buildscript {
25
25
}
26
26
27
27
common_utils_version = System . getProperty(" common_utils.version" , opensearch_build)
28
- job_scheduler_version = System . getProperty(" job_scheduler.version" , opensearch_build)
28
+ job_scheduler_version = System . getProperty(" job_scheduler.version" , opensearch_build)
29
29
kotlin_version = System . getProperty(" kotlin.version" , " 1.6.0" )
30
+ jackson_version = " 2.14.1"
30
31
}
31
32
32
33
repositories {
@@ -164,7 +165,11 @@ dependencies {
164
165
compileOnly " ${ group} :opensearch-job-scheduler-spi:${ job_scheduler_version} "
165
166
implementation group : ' com.google.guava' , name : ' guava' , version : ' 31.0.1-jre'
166
167
implementation " org.json:json:20180813"
167
- implementation group : ' com.github.wnameless' , name : ' json-flattener' , version : ' 0.1.0'
168
+ implementation group : ' com.github.wnameless.json' , name : ' json-flattener' , version : ' 0.15.1'
169
+ // json-base, jackson-databind, jackson-annotations are transitive dependencies by json-flattener
170
+ 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} "
168
173
implementation ' org.jsoup:jsoup:1.15.3'
169
174
implementation ' com.google.code.gson:gson:2.8.9'
170
175
implementation " org.jetbrains.kotlin:kotlin-test:${ kotlin_version} "
@@ -174,11 +179,12 @@ dependencies {
174
179
' org.junit.jupiter:junit-jupiter-api:5.6.2'
175
180
)
176
181
testRuntimeOnly(' org.junit.jupiter:junit-jupiter-engine:5.6.2' )
177
- testCompile " org.opensearch.test:framework:${ opensearch_version} "
178
- testCompile " org.jetbrains.kotlin:kotlin-test:${ kotlin_version} "
182
+ testImplementation " org.opensearch.test:framework:${ opensearch_version} "
183
+ testImplementation " org.jetbrains.kotlin:kotlin-test:${ kotlin_version} "
179
184
testImplementation " com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
180
- testCompile " org.mockito:mockito-core:3.12.4"
181
- testCompile ' com.google.code.gson:gson:2.8.9'
185
+ testImplementation " org.mockito:mockito-core:4.7.0"
186
+ testImplementation " org.mockito:mockito-junit-jupiter:4.7.0"
187
+ testImplementation ' com.google.code.gson:gson:2.8.9'
182
188
183
189
ktlint " com.pinterest:ktlint:0.45.1"
184
190
}
0 commit comments