Upgrade to JUnit 5.5.2

This commit also removes the testRuntime dependency on Hamcrest which
was a workaround for https://github.com/junit-team/junit5/issues/2004.

Closes gh-23604
This commit is contained in:
Sam Brannen
2019-09-09 14:20:56 +02:00
parent 5bb8c47b14
commit 604eecaf67

View File

@@ -46,7 +46,7 @@ configure(allprojects) { project ->
mavenBom "org.eclipse.jetty:jetty-bom:9.4.20.v20190813"
mavenBom "org.jetbrains.kotlin:kotlin-bom:1.3.50"
mavenBom "org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.3.1"
mavenBom "org.junit:junit-bom:5.5.1"
mavenBom "org.junit:junit-bom:5.5.2"
}
dependencies {
dependencySet(group: 'org.apache.logging.log4j', version: '2.12.1') {
@@ -352,8 +352,6 @@ 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")
// Workaround for https://github.com/junit-team/junit5/issues/2004
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")
@@ -378,7 +376,7 @@ configure([rootProject] + javaProjects) { project ->
"https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/",
"https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/",
"https://junit.org/junit4/javadoc/4.12/",
"https://junit.org/junit5/docs/5.5.1/api/"
"https://junit.org/junit5/docs/5.5.2/api/"
] as String[]
}