Skip to content

Commit

Permalink
Update dependencies to address some CVE scans (#2123)
Browse files Browse the repository at this point in the history
Update dependencies to address some CVE scans
  • Loading branch information
Quinn-With-Two-Ns authored Jun 25, 2024
1 parent 8a2d5cd commit 8872e33
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ ext {

gsonVersion = '2.10.1' // [2.0,)

jsonPathVersion = '2.8.0' // compileOnly
jsonPathVersion = '2.9.0' // compileOnly

cronUtilsVersion = '9.2.1' // for test server only

// Spring Boot 3 requires Java 17, java-sdk builds against 2.x version because we support Java 8.
// We do test compatibility with Spring Boot 3 in integration tests.
springBootVersion = project.hasProperty("edgeDepsTest") ? '3.0.4' : '2.7.12'// [2.4.0,)
springBootVersion = project.hasProperty("edgeDepsTest") ? '3.0.4' : '2.7.18'// [2.4.0,)

// test scoped
// we don't upgrade to 1.3 and 1.4 because they require slf4j 2.x
Expand Down
2 changes: 1 addition & 1 deletion temporal-remote-data-encoder/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
description = '''Temporal Workflow Java SDK'''

ext {
okhttpVersion = '4.10.0'
okhttpVersion = '4.11.0'
servletVersion = '4.0.1'
}

Expand Down
4 changes: 3 additions & 1 deletion temporal-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ dependencies {
// It's useful only for unit tests and debugging.
// For these use-cases Temporal users can add this dep in the classpath temporary or permanently themselves.
compileOnly "com.jayway.jsonpath:json-path:$jsonPathVersion"
testImplementation "com.jayway.jsonpath:json-path:$jsonPathVersion"
testImplementation("com.jayway.jsonpath:json-path:$jsonPathVersion"){
exclude group: 'org.slf4j', module: 'slf4j-api'
}

testImplementation project(':temporal-testing')
testImplementation "junit:junit:${junitVersion}"
Expand Down
4 changes: 3 additions & 1 deletion temporal-testing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ dependencies {
// This dependency is included in temporal-sdk module as optional with compileOnly scope.
// To make things easier for users, it's helpful for the testing module to bring this dependency
// transitively as most users work with history jsons in tests.
implementation "com.jayway.jsonpath:json-path:$jsonPathVersion"
implementation("com.jayway.jsonpath:json-path:$jsonPathVersion"){
exclude group: 'org.slf4j', module: 'slf4j-api'
}

junit4Api 'junit:junit:4.13.2'

Expand Down

0 comments on commit 8872e33

Please sign in to comment.