提交 3c4cd992 编写于 作者: S Sam Brannen

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 bb03cdf5.
上级 1c5b949d
......@@ -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")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册