Commit 97a5fee 1 parent 90cb31a commit 97a5fee Copy full SHA for 97a5fee
File tree 5 files changed +10
-5
lines changed
5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,11 @@ subprojects {
64
64
configurations {
65
65
testImplementation. extendsFrom compileOnly
66
66
}
67
+
68
+ configurations. all {
69
+ // Force spotless depending on newer version of guava due to CVE-2023-2976. Remove after spotless upgrades.
70
+ resolutionStrategy. force " com.google.guava:guava:32.1.2-jre"
71
+ }
67
72
}
68
73
69
74
ext {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ dependencies {
28
28
implementation group : ' org.opensearch' , name : ' opensearch' , version : " ${ opensearch_version} "
29
29
implementation group : ' org.apache.httpcomponents.core5' , name : ' httpcore5' , version : ' 5.2.1'
30
30
implementation " org.opensearch:common-utils:${ common_utils_version} "
31
- implementation group : ' com.google.guava' , name : ' guava' , version : ' 32.0.1 -jre'
31
+ implementation group : ' com.google.guava' , name : ' guava' , version : ' 32.1.2 -jre'
32
32
testImplementation (group : ' junit' , name : ' junit' , version : ' 4.13.2' ) {
33
33
exclude module : ' hamcrest'
34
34
exclude module : ' hamcrest-core'
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ dependencies {
42
42
implementation group : ' io.protostuff' , name : ' protostuff-collectionschema' , version : ' 1.8.0'
43
43
testImplementation group : ' junit' , name : ' junit' , version : ' 4.13.2'
44
44
testImplementation group : ' org.mockito' , name : ' mockito-core' , version : ' 5.7.0'
45
- implementation group : ' com.google.guava' , name : ' guava' , version : ' 32.0.1 -jre'
45
+ implementation group : ' com.google.guava' , name : ' guava' , version : ' 32.1.2 -jre'
46
46
implementation group : ' com.google.code.gson' , name : ' gson' , version : ' 2.10.1'
47
47
implementation platform(" ai.djl:bom:0.21.0" )
48
48
implementation group : ' ai.djl.pytorch' , name : ' pytorch-model-zoo' , version : ' 0.21.0'
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ dependencies {
57
57
implementation " org.opensearch:common-utils:${ common_utils_version} "
58
58
implementation(" com.fasterxml.jackson.core:jackson-annotations:${ versions.jackson} " )
59
59
implementation(" com.fasterxml.jackson.core:jackson-databind:${ versions.jackson_databind} " )
60
- implementation group : ' com.google.guava' , name : ' guava' , version : ' 32.0.1 -jre'
60
+ implementation group : ' com.google.guava' , name : ' guava' , version : ' 32.1.2 -jre'
61
61
implementation group : ' com.google.code.gson' , name : ' gson' , version : ' 2.10.1'
62
62
implementation group : ' org.apache.commons' , name : ' commons-lang3' , version : ' 3.10'
63
63
implementation group : ' org.apache.commons' , name : ' commons-math3' , version : ' 3.6.1'
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ dependencies {
35
35
implementation project(' :opensearch-ml-memory' )
36
36
implementation group : ' org.opensearch' , name : ' common-utils' , version : " ${ common_utils_version} "
37
37
// https://mvnrepository.com/artifact/org.apache.httpcomponents.core5/httpcore5
38
- implementation group : ' org.apache.httpcomponents.core5' , name : ' httpcore5' , version : ' 5.2.1 '
39
- implementation( " com.google.guava: guava: 32.0.1 -jre" )
38
+ implementation group : ' org.apache.httpcomponents.core5' , name : ' httpcore5' , version : ' 5.2.2 '
39
+ implementation group : ' com.google.guava' , name : ' guava' , version : ' 32.1.2 -jre'
40
40
implementation group : ' org.json' , name : ' json' , version : ' 20231013'
41
41
implementation group : ' org.apache.commons' , name : ' commons-text' , version : ' 1.10.0'
42
42
testImplementation " org.opensearch.test:framework:${ opensearch_version} "
You can’t perform that action at this time.
0 commit comments