Browse Source

Reintroduce Hamcrest as a global test runtime dependency

Prior to this commit, tests in spring-web and spring-webflux were no
longer executed due to the removal of the Hamcrest dependency in
commit bb03cdf5d0.
pull/23580/head
Sam Brannen 6 years ago
parent
commit
3c4cd99237
  1. 2
      build.gradle

2
build.gradle

@ -347,6 +347,8 @@ configure([rootProject] + javaProjects) { project -> @@ -347,6 +347,8 @@ configure([rootProject] + javaProjects) { project ->
testRuntime("org.apache.logging.log4j:log4j-core")
testRuntime("org.apache.logging.log4j:log4j-slf4j-impl")
testRuntime("org.apache.logging.log4j:log4j-jul")
// Hamcrest is needed at test runtime by third-party libraries
testRuntime("org.hamcrest:hamcrest")
// JSR-305 only used for non-required meta-annotations
compileOnly("com.google.code.findbugs:jsr305")
testCompileOnly("com.google.code.findbugs:jsr305")

Loading…
Cancel
Save