Skip to content

Commit a2039b2

Browse files
committed
Extract versions to consts
1 parent 906ff25 commit a2039b2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

build.gradle.kts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@ repositories {
2222
mavenCentral()
2323
}
2424

25+
val junitJupiterVersion = "5.13.4"
26+
val junitPlatformVersion = "1.13.4"
27+
2528
dependencies {
26-
testImplementation("org.junit.jupiter:junit-jupiter-api:5.13.4")
27-
testImplementation("org.junit.jupiter:junit-jupiter-params:5.13.4")
29+
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}")
30+
testImplementation("org.junit.jupiter:junit-jupiter-params:${junitJupiterVersion}")
2831

29-
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.13.4")
30-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.13.4")
32+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}")
33+
testRuntimeOnly("org.junit.platform:junit-platform-launcher:${junitPlatformVersion}")
3134
}
3235

3336
publishing {

0 commit comments

Comments
 (0)