Skip to content

Commit 7977827

Browse files
committed
Use variable for JUnit version
1 parent cb0b9ac commit 7977827

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ buildscript {
77
jacksonVersion = '2.18.2'
88
nettyVersion = '4.1.118.Final'
99
junitJupiterVersion = '5.11.4'
10+
junitVintageVersion = '4.13.2'
1011
slf4jVersion = '2.0.17'
1112
logbackVersion = '1.5.17'
1213
graalvmVersion = '24.1.2'

cli/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies {
1515

1616
testImplementation "org.hamcrest:hamcrest:3.0"
1717
testImplementation "org.junit.jupiter:junit-jupiter:${junitJupiterVersion}"
18-
testCompileOnly 'junit:junit:4.13.2'
18+
testCompileOnly "junit:junit:${junitVintageVersion}"
1919
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junitJupiterVersion}"
2020

2121
testImplementation "org.mockito:mockito-core:5.15.2"

core/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies {
3838
implementation "org.reflections:reflections:0.10.2"
3939

4040
testImplementation "org.junit.jupiter:junit-jupiter:${junitJupiterVersion}"
41-
testCompileOnly 'junit:junit:4.13.2'
41+
testCompileOnly "junit:junit:${junitVintageVersion}"
4242
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junitJupiterVersion}"
4343
testImplementation "org.hamcrest:hamcrest:3.0"
4444
testImplementation "org.mockito:mockito-core:5.15.2"

0 commit comments

Comments
 (0)