Skip to content

Commit 58cb6ac

Browse files
committed
add exact version 2.5.2 for json-smart
hardcode awssdk version to 2.30.18 Signed-off-by: Jing Zhang <[email protected]>
1 parent 303a387 commit 58cb6ac

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

common/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ dependencies {
3838
compileOnly ('com.jayway.jsonpath:json-path:2.9.0') {
3939
exclude group: 'net.minidev', module: 'json-smart'
4040
}
41+
compileOnly ('net.minidev:json-smart:2.5.2')
4142
compileOnly("com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}")
4243
compileOnly("com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}")
4344
compileOnly group: 'com.networknt' , name: 'json-schema-validator', version: '1.4.0'

memory/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ dependencies {
4646
testImplementation ('com.jayway.jsonpath:json-path:2.9.0') {
4747
exclude group: 'net.minidev', module: 'json-smart'
4848
}
49+
testImplementation('net.minidev:json-smart:2.5.2')
4950
}
5051

5152
test {

ml-algorithms/build.gradle

+8-7
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,24 @@ dependencies {
6767
}
6868
}
6969

70-
implementation platform('software.amazon.awssdk:bom:2.30.24')
71-
api 'software.amazon.awssdk:auth:2.30.24'
70+
implementation platform('software.amazon.awssdk:bom:2.30.18')
71+
api 'software.amazon.awssdk:auth:2.30.18'
7272
implementation 'software.amazon.awssdk:apache-client'
7373
implementation ('com.amazonaws:aws-encryption-sdk-java:2.4.1') {
7474
exclude group: 'org.bouncycastle', module: 'bcprov-ext-jdk18on'
7575
}
7676
implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1'
7777

78-
compileOnly group: 'software.amazon.awssdk', name: 'aws-core', version: '2.30.24'
79-
compileOnly group: 'software.amazon.awssdk', name: 's3', version: '2.30.24'
80-
compileOnly group: 'software.amazon.awssdk', name: 'regions', version: '2.30.24'
78+
compileOnly group: 'software.amazon.awssdk', name: 'aws-core', version: "2.30.18"
79+
compileOnly group: 'software.amazon.awssdk', name: 's3', version: "2.30.18"
80+
compileOnly group: 'software.amazon.awssdk', name: 'regions', version: "2.30.18"
8181

8282
implementation ('com.jayway.jsonpath:json-path:2.9.0') {
8383
exclude group: 'net.minidev', module: 'json-smart'
8484
}
85+
implementation('net.minidev:json-smart:2.5.2')
8586
implementation group: 'org.json', name: 'json', version: '20231013'
86-
implementation group: 'software.amazon.awssdk', name: 'netty-nio-client', version: '2.30.24'
87+
implementation group: 'software.amazon.awssdk', name: 'netty-nio-client', version: "2.30.18"
8788
testImplementation("com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}")
8889
testImplementation("com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}")
8990
testImplementation group: 'com.networknt' , name: 'json-schema-validator', version: '1.4.0'
@@ -96,7 +97,7 @@ lombok {
9697
configurations.all {
9798
resolutionStrategy.force 'com.google.protobuf:protobuf-java:3.25.5'
9899
resolutionStrategy.force 'org.apache.commons:commons-compress:1.26.0'
99-
resolutionStrategy.force 'software.amazon.awssdk:bom:2.30.24'
100+
resolutionStrategy.force 'software.amazon.awssdk:bom:2.30.18'
100101
}
101102

102103

plugin/build.gradle

+7-6
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ dependencies {
5959
implementation project(':opensearch-ml-memory')
6060
compileOnly "com.google.guava:guava:32.1.3-jre"
6161

62-
implementation group: 'software.amazon.awssdk', name: 'aws-core', version: '2.30.24'
63-
implementation group: 'software.amazon.awssdk', name: 's3', version: '2.30.24'
64-
implementation group: 'software.amazon.awssdk', name: 'regions', version: '2.30.24'
62+
implementation group: 'software.amazon.awssdk', name: 'aws-core', version: "2.30.18"
63+
implementation group: 'software.amazon.awssdk', name: 's3', version: "2.30.18"
64+
implementation group: 'software.amazon.awssdk', name: 'regions', version: "2.30.18"
6565

66-
implementation group: 'software.amazon.awssdk', name: 'aws-xml-protocol', version: '2.30.24'
66+
implementation group: 'software.amazon.awssdk', name: 'aws-xml-protocol', version: "2.30.18"
6767

68-
implementation group: 'software.amazon.awssdk', name: 'aws-query-protocol', version: '2.30.24'
68+
implementation group: 'software.amazon.awssdk', name: 'aws-query-protocol', version: "2.30.18"
6969

70-
implementation group: 'software.amazon.awssdk', name: 'protocol-core', version: '2.30.24'
70+
implementation group: 'software.amazon.awssdk', name: 'protocol-core', version: "2.30.18"
7171

7272
zipArchive group: 'org.opensearch.plugin', name:'opensearch-job-scheduler', version: "${opensearch_build}"
7373
compileOnly "org.opensearch:opensearch-job-scheduler-spi:${opensearch_build}"
@@ -93,6 +93,7 @@ dependencies {
9393
implementation ('com.jayway.jsonpath:json-path:2.9.0') {
9494
exclude group: 'net.minidev', module: 'json-smart'
9595
}
96+
implementation('net.minidev:json-smart:2.5.2')
9697
}
9798

9899
publishing {

0 commit comments

Comments
 (0)