Skip to content

Commit 969644f

Browse files
Fix Java 8 unit tests (#1631) (#1636)
(cherry picked from commit dcf0851) Signed-off-by: Thomas Farr <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent ee92b8a commit 969644f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

java-client/build.gradle.kts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,12 @@ dependencies {
232232
testImplementation("software.amazon.awssdk", "url-connection-client", "[2.21,3.0)")
233233
testImplementation("software.amazon.awssdk", "sts", "[2.21,3.0)")
234234

235-
testImplementation("org.apache.logging.log4j", "log4j-api","[2.17.1,3.0)")
236-
testImplementation("org.apache.logging.log4j", "log4j-core","[2.17.1,3.0)")
235+
testImplementation("org.apache.logging.log4j", "log4j-api","[2.17.1,3.0)") {
236+
exclude(group = "com.github.spotbugs", module = "spotbugs-annotations")
237+
}
238+
testImplementation("org.apache.logging.log4j", "log4j-core","[2.17.1,3.0)") {
239+
exclude(group = "com.github.spotbugs", module = "spotbugs-annotations")
240+
}
237241

238242
// EPL-2.0 OR BSD-3-Clause
239243
// https://eclipse-ee4j.github.io/yasson/

0 commit comments

Comments
 (0)