Move junit5-system-exit version to version.gradle

This commit is contained in:
Paul Schaub 2022-04-26 00:32:03 +02:00
parent 0065401c15
commit 8753480e82
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 3 additions and 1 deletions

View file

@ -10,8 +10,9 @@ dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
// Testing Exit Codes in JUnit
// https://todd.ginsberg.com/post/testing-system-exit/
testImplementation 'com.ginsberg:junit5-system-exit:1.1.2'
testImplementation "com.ginsberg:junit5-system-exit:$junitSysExitVersion"
testImplementation 'org.mockito:mockito-core:4.3.1'
implementation(project(":sop-java"))

View file

@ -9,5 +9,6 @@ allprojects {
minAndroidSdk = 10
javaSourceCompatibility = 1.8
junitVersion = '5.8.2'
junitSysExitVersion = '1.1.2'
}
}