Skip to content

Commit

Permalink
fix #2083 use junit-bom to control dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbottard committed Jul 24, 2020
1 parent eb32fa7 commit d8572ee
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ ext {
logbackVersion = '1.1.2'

// Testing
jUnitPlatformVersion = '5.6.0'
jUnitVersion = '4.13'
jUnitJupiterVersion = '5.6.0'
assertJVersion = '3.11.1'
mockitoVersion = '2.23.0'
jUnitParamsVersion = '1.1.1'
Expand Down
13 changes: 7 additions & 6 deletions reactor-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,13 @@ dependencies {
//Optional JDK 9 Converter
jsr166backport "io.projectreactor:jsr166:$jsr166BackportVersion"

testCompile "junit:junit:$jUnitVersion"
testCompile "org.junit.jupiter:junit-jupiter-api:${jUnitJupiterVersion}"
testCompile "org.junit.platform:junit-platform-launcher:1.6.1"
testCompile "org.junit.jupiter:junit-jupiter-params:${jUnitJupiterVersion}"
testRuntime "org.junit.jupiter:junit-jupiter-engine:${jUnitJupiterVersion}"
testRuntime "org.junit.vintage:junit-vintage-engine:${jUnitJupiterVersion}"
testImplementation platform("org.junit:junit-bom:${jUnitPlatformVersion}")
testCompile "junit:junit:${jUnitVersion}"
testCompile "org.junit.jupiter:junit-jupiter-api"
testCompile "org.junit.platform:junit-platform-launcher"
testCompile "org.junit.jupiter:junit-jupiter-params"
testRuntime "org.junit.jupiter:junit-jupiter-engine"
testRuntime "org.junit.vintage:junit-vintage-engine"

testRuntime "ch.qos.logback:logback-classic:$logbackVersion"
// Testing
Expand Down
9 changes: 5 additions & 4 deletions reactor-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ dependencies {

optional "org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}"

testCompile "junit:junit:$jUnitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-api:${jUnitJupiterVersion}"
testRuntime "org.junit.jupiter:junit-jupiter-engine:${jUnitJupiterVersion}"
testRuntime "org.junit.vintage:junit-vintage-engine:${jUnitJupiterVersion}"
testImplementation platform("org.junit:junit-bom:${jUnitPlatformVersion}")
testCompile "junit:junit:${jUnitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-api"
testRuntime "org.junit.jupiter:junit-jupiter-engine"
testRuntime "org.junit.vintage:junit-vintage-engine"

testRuntime "ch.qos.logback:logback-classic:$logbackVersion"

Expand Down
5 changes: 3 additions & 2 deletions reactor-tools/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ dependencies {
javaAgentTestRuntime(dependency)
}

testImplementation "org.junit.jupiter:junit-jupiter-api:${jUnitJupiterVersion}"
testRuntime "org.junit.jupiter:junit-jupiter-engine:${jUnitJupiterVersion}"
testImplementation platform("org.junit:junit-bom:${jUnitPlatformVersion}")
testImplementation "org.junit.jupiter:junit-jupiter-api"
testRuntime "org.junit.jupiter:junit-jupiter-engine"

testCompile "org.assertj:assertj-core:$assertJVersion"
testCompile 'cglib:cglib:3.3.0'
Expand Down

0 comments on commit d8572ee

Please sign in to comment.