Merge pull request #55 from onixbyte/develop

chore: downgrade junit jupiter to version 5.11.4
This commit is contained in:
Jam'o Siu
2025-04-24 16:38:25 +08:00
committed by GitHub
13 changed files with 32 additions and 15 deletions
+2 -1
View File
@@ -59,7 +59,8 @@ dependencies {
compileOnly(libs.slf4j) compileOnly(libs.slf4j)
implementation(libs.logback) implementation(libs.logback)
testImplementation(libs.junit) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
} }
tasks.test { tasks.test {
+2 -1
View File
@@ -55,7 +55,8 @@ dependencies {
compileOnly(libs.slf4j) compileOnly(libs.slf4j)
implementation(libs.logback) implementation(libs.logback)
api(project(":devkit-core")) api(project(":devkit-core"))
testImplementation(libs.junit) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
} }
tasks.test { tasks.test {
+3 -2
View File
@@ -20,7 +20,7 @@ jackson = "2.18.3"
jwt = "4.5.0" jwt = "4.5.0"
spring = "6.2.6" spring = "6.2.6"
springBoot = "3.4.4" springBoot = "3.4.4"
junit = "5.12.2" junit = "5.11.4"
[libraries] [libraries]
slf4j = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j" } slf4j = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j" }
@@ -33,4 +33,5 @@ spring-boot-starter-logging = { group = "org.springframework.boot", name = "spri
spring-boot-configuration-processor = { group = "org.springframework.boot", name = "spring-boot-configuration-processor", version.ref = "springBoot" } spring-boot-configuration-processor = { group = "org.springframework.boot", name = "spring-boot-configuration-processor", version.ref = "springBoot" }
spring-boot-starter-redis = { group = "org.springframework.boot", name = "spring-boot-starter-data-redis", version.ref = "springBoot" } spring-boot-starter-redis = { group = "org.springframework.boot", name = "spring-boot-starter-data-redis", version.ref = "springBoot" }
spring-boot-starter-test = { group = "org.springframework.boot", name = "spring-boot-starter-test", version.ref = "springBoot" } spring-boot-starter-test = { group = "org.springframework.boot", name = "spring-boot-starter-test", version.ref = "springBoot" }
junit = { group = "org.junit.jupiter", name = "junit-jupiter", version.ref = "junit" } junit-bom = { group = "org.junit", name = "junit-bom", version.ref = "junit" }
junit-jupiter = { group = "org.junit.jupiter", name = "junit-jupiter", version.ref = "junit" }
+2 -1
View File
@@ -55,7 +55,8 @@ dependencies {
compileOnly(libs.slf4j) compileOnly(libs.slf4j)
implementation(libs.logback) implementation(libs.logback)
api(project(":devkit-core")) api(project(":devkit-core"))
testImplementation(libs.junit) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
} }
tasks.test { tasks.test {
+6 -1
View File
@@ -55,11 +55,16 @@ dependencies {
compileOnly(libs.slf4j) compileOnly(libs.slf4j)
implementation(libs.logback) implementation(libs.logback)
api(project(":devkit-core")) api(project(":devkit-core"))
testImplementation(libs.junit) testImplementation(libs.jwt)
testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
} }
tasks.test { tasks.test {
useJUnitPlatform() useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
} }
publishing { publishing {
+2 -1
View File
@@ -55,7 +55,8 @@ dependencies {
compileOnly(libs.slf4j) compileOnly(libs.slf4j)
implementation(libs.logback) implementation(libs.logback)
api(project(":devkit-core")) api(project(":devkit-core"))
testImplementation(libs.junit) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
} }
tasks.test { tasks.test {
+2 -1
View File
@@ -55,7 +55,8 @@ dependencies {
compileOnly(libs.slf4j) compileOnly(libs.slf4j)
implementation(libs.logback) implementation(libs.logback)
api(project(":devkit-core")) api(project(":devkit-core"))
testImplementation(libs.junit) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
} }
tasks.test { tasks.test {
@@ -60,7 +60,8 @@ dependencies {
implementation(libs.spring.boot.starter.logging) implementation(libs.spring.boot.starter.logging)
implementation(libs.spring.boot.configuration.processor) implementation(libs.spring.boot.configuration.processor)
testImplementation(libs.junit) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
testImplementation(libs.spring.boot.starter.test) testImplementation(libs.spring.boot.starter.test)
} }
+2 -1
View File
@@ -62,7 +62,8 @@ dependencies {
api(libs.jackson.databind) api(libs.jackson.databind)
api(libs.jwt) api(libs.jwt)
testImplementation(libs.junit) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
} }
tasks.test { tasks.test {
+2 -1
View File
@@ -59,7 +59,8 @@ dependencies {
api(project(":devkit-utils")) api(project(":devkit-utils"))
api(project(":guid")) api(project(":guid"))
testImplementation(libs.junit) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
} }
tasks.test { tasks.test {
@@ -63,7 +63,8 @@ dependencies {
implementation(libs.spring.boot.configuration.processor) implementation(libs.spring.boot.configuration.processor)
annotationProcessor(libs.spring.boot.configuration.processor) annotationProcessor(libs.spring.boot.configuration.processor)
testImplementation(libs.junit) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
testImplementation(libs.spring.boot.starter.test) testImplementation(libs.spring.boot.starter.test)
} }
+2 -1
View File
@@ -42,7 +42,8 @@ dependencies {
api(project(":devkit-utils")) api(project(":devkit-utils"))
implementation(libs.jackson.core) implementation(libs.jackson.core)
implementation(libs.jackson.databind) implementation(libs.jackson.databind)
testImplementation(libs.junit) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
} }
tasks.test { tasks.test {
@@ -62,7 +62,8 @@ dependencies {
implementation(libs.spring.boot.starter.redis) implementation(libs.spring.boot.starter.redis)
annotationProcessor(libs.spring.boot.configuration.processor) annotationProcessor(libs.spring.boot.configuration.processor)
testImplementation(libs.junit) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
testImplementation(libs.spring.boot.starter.test) testImplementation(libs.spring.boot.starter.test)
} }