Skip to content

Commit dcf0851

Browse files
authored
Fix Java 8 unit tests (opensearch-project#1631)
Signed-off-by: Thomas Farr <[email protected]>
1 parent 87df20f commit dcf0851

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)