Skip to content

Commit 7cafabf

Browse files
authored
Merge pull request #55 from onixbyte/develop
chore: downgrade junit jupiter to version 5.11.4
2 parents 5343c14 + 144685d commit 7cafabf

File tree

13 files changed

+32
-15
lines changed

13 files changed

+32
-15
lines changed

devkit-core/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ dependencies {
5959
compileOnly(libs.slf4j)
6060
implementation(libs.logback)
6161

62-
testImplementation(libs.junit)
62+
testImplementation(platform(libs.junit.bom))
63+
testImplementation(libs.junit.jupiter)
6364
}
6465

6566
tasks.test {

devkit-utils/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ dependencies {
5555
compileOnly(libs.slf4j)
5656
implementation(libs.logback)
5757
api(project(":devkit-core"))
58-
testImplementation(libs.junit)
58+
testImplementation(platform(libs.junit.bom))
59+
testImplementation(libs.junit.jupiter)
5960
}
6061

6162
tasks.test {

gradle/libs.versions.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,18 @@ jackson = "2.18.3"
2020
jwt = "4.5.0"
2121
spring = "6.2.6"
2222
springBoot = "3.4.4"
23-
junit = "5.12.2"
23+
junit = "5.11.4"
2424

2525
[libraries]
2626
slf4j = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j" }
2727
logback = { group = "ch.qos.logback", name = "logback-classic", version.ref = "logback" }
2828
jackson-core = { group = "com.fasterxml.jackson.core", name = "jackson-core", version.ref = "jackson" }
2929
jackson-databind = { group = "com.fasterxml.jackson.core", name = "jackson-databind", version.ref = "jackson" }
30-
jwt = { group = "com.auth0", name = "java-jwt", version.ref = "jwt"}
30+
jwt = { group = "com.auth0", name = "java-jwt", version.ref = "jwt" }
3131
spring-boot-autoconfigure = { group = "org.springframework.boot", name = "spring-boot-autoconfigure", version.ref = "springBoot" }
3232
spring-boot-starter-logging = { group = "org.springframework.boot", name = "spring-boot-starter-logging", version.ref = "springBoot" }
3333
spring-boot-configuration-processor = { group = "org.springframework.boot", name = "spring-boot-configuration-processor", version.ref = "springBoot" }
3434
spring-boot-starter-redis = { group = "org.springframework.boot", name = "spring-boot-starter-data-redis", version.ref = "springBoot" }
3535
spring-boot-starter-test = { group = "org.springframework.boot", name = "spring-boot-starter-test", version.ref = "springBoot" }
36-
junit = { group = "org.junit.jupiter", name = "junit-jupiter", version.ref = "junit" }
36+
junit-bom = { group = "org.junit", name = "junit-bom", version.ref = "junit" }
37+
junit-jupiter = { group = "org.junit.jupiter", name = "junit-jupiter", version.ref = "junit" }

guid/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ dependencies {
5555
compileOnly(libs.slf4j)
5656
implementation(libs.logback)
5757
api(project(":devkit-core"))
58-
testImplementation(libs.junit)
58+
testImplementation(platform(libs.junit.bom))
59+
testImplementation(libs.junit.jupiter)
5960
}
6061

6162
tasks.test {

key-pair-loader/build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,16 @@ dependencies {
5555
compileOnly(libs.slf4j)
5656
implementation(libs.logback)
5757
api(project(":devkit-core"))
58-
testImplementation(libs.junit)
58+
testImplementation(libs.jwt)
59+
testImplementation(platform(libs.junit.bom))
60+
testImplementation(libs.junit.jupiter)
5961
}
6062

6163
tasks.test {
6264
useJUnitPlatform()
65+
testLogging {
66+
events("passed", "skipped", "failed")
67+
}
6368
}
6469

6570
publishing {

map-util-unsafe/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ dependencies {
5555
compileOnly(libs.slf4j)
5656
implementation(libs.logback)
5757
api(project(":devkit-core"))
58-
testImplementation(libs.junit)
58+
testImplementation(platform(libs.junit.bom))
59+
testImplementation(libs.junit.jupiter)
5960
}
6061

6162
tasks.test {

num4j/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ dependencies {
5555
compileOnly(libs.slf4j)
5656
implementation(libs.logback)
5757
api(project(":devkit-core"))
58-
testImplementation(libs.junit)
58+
testImplementation(platform(libs.junit.bom))
59+
testImplementation(libs.junit.jupiter)
5960
}
6061

6162
tasks.test {

property-guard-spring-boot-starter/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ dependencies {
6060
implementation(libs.spring.boot.starter.logging)
6161
implementation(libs.spring.boot.configuration.processor)
6262

63-
testImplementation(libs.junit)
63+
testImplementation(platform(libs.junit.bom))
64+
testImplementation(libs.junit.jupiter)
6465
testImplementation(libs.spring.boot.starter.test)
6566
}
6667

simple-jwt-authzero/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ dependencies {
6262
api(libs.jackson.databind)
6363
api(libs.jwt)
6464

65-
testImplementation(libs.junit)
65+
testImplementation(platform(libs.junit.bom))
66+
testImplementation(libs.junit.jupiter)
6667
}
6768

6869
tasks.test {

simple-jwt-facade/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ dependencies {
5959
api(project(":devkit-utils"))
6060
api(project(":guid"))
6161

62-
testImplementation(libs.junit)
62+
testImplementation(platform(libs.junit.bom))
63+
testImplementation(libs.junit.jupiter)
6364
}
6465

6566
tasks.test {

0 commit comments

Comments
 (0)