chore: upgrade dependencies

This commit is contained in:
siujamo
2025-05-16 10:17:12 +08:00
parent 07f697c0ca
commit 020a5eae6d
7 changed files with 25 additions and 29 deletions
-4
View File
@@ -52,10 +52,6 @@ tasks.withType<Jar> {
} }
dependencies { dependencies {
val slf4jVersion: String by project
val logbackVersion: String by project
val junitVersion: String by project
compileOnly(libs.slf4j) compileOnly(libs.slf4j)
implementation(libs.logback) implementation(libs.logback)
+8 -8
View File
@@ -16,10 +16,10 @@
[versions] [versions]
slf4j = "2.0.17" slf4j = "2.0.17"
logback = "1.5.18" logback = "1.5.18"
jackson = "2.18.3" jackson = "2.18.4"
jwt = "4.5.0" jwt = "4.5.0"
spring = "6.2.6" spring = "6.2.6"
springBoot = "3.4.4" springBoot = "3.4.5"
junit = "5.11.4" junit = "5.11.4"
[libraries] [libraries]
@@ -27,11 +27,11 @@ slf4j = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j" }
logback = { group = "ch.qos.logback", name = "logback-classic", version.ref = "logback" } logback = { group = "ch.qos.logback", name = "logback-classic", version.ref = "logback" }
jackson-core = { group = "com.fasterxml.jackson.core", name = "jackson-core", version.ref = "jackson" } jackson-core = { group = "com.fasterxml.jackson.core", name = "jackson-core", version.ref = "jackson" }
jackson-databind = { group = "com.fasterxml.jackson.core", name = "jackson-databind", version.ref = "jackson" } jackson-databind = { group = "com.fasterxml.jackson.core", name = "jackson-databind", version.ref = "jackson" }
jwt = { group = "com.auth0", name = "java-jwt", version.ref = "jwt" } jwt-core = { group = "com.auth0", name = "java-jwt", version.ref = "jwt" }
spring-boot-autoconfigure = { group = "org.springframework.boot", name = "spring-boot-autoconfigure", version.ref = "springBoot" } springBoot-autoconfigure = { group = "org.springframework.boot", name = "spring-boot-autoconfigure", version.ref = "springBoot" }
spring-boot-starter-logging = { group = "org.springframework.boot", name = "spring-boot-starter-logging", version.ref = "springBoot" } springBoot-starter-logging = { group = "org.springframework.boot", name = "spring-boot-starter-logging", version.ref = "springBoot" }
spring-boot-configuration-processor = { group = "org.springframework.boot", name = "spring-boot-configuration-processor", version.ref = "springBoot" } springBoot-configurationProcessor = { 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" } springBoot-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" } springBoot-starter-test = { group = "org.springframework.boot", name = "spring-boot-starter-test", version.ref = "springBoot" }
junit-bom = { group = "org.junit", name = "junit-bom", 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" } junit-jupiter = { group = "org.junit.jupiter", name = "junit-jupiter", version.ref = "junit" }
+1 -1
View File
@@ -55,7 +55,7 @@ dependencies {
compileOnly(libs.slf4j) compileOnly(libs.slf4j)
implementation(libs.logback) implementation(libs.logback)
api(project(":devkit-core")) api(project(":devkit-core"))
testImplementation(libs.jwt) testImplementation(libs.jwt.core)
testImplementation(platform(libs.junit.bom)) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter) testImplementation(libs.junit.jupiter)
} }
@@ -56,13 +56,13 @@ dependencies {
implementation(libs.logback) implementation(libs.logback)
api(project(":devkit-core")) api(project(":devkit-core"))
api(project(":devkit-utils")) api(project(":devkit-utils"))
implementation(libs.spring.boot.autoconfigure) implementation(libs.springBoot.autoconfigure)
implementation(libs.spring.boot.starter.logging) implementation(libs.springBoot.starter.logging)
implementation(libs.spring.boot.configuration.processor) implementation(libs.springBoot.configurationProcessor)
testImplementation(platform(libs.junit.bom)) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter) testImplementation(libs.junit.jupiter)
testImplementation(libs.spring.boot.starter.test) testImplementation(libs.springBoot.starter.test)
} }
tasks.test { tasks.test {
+1 -1
View File
@@ -60,7 +60,7 @@ dependencies {
api(project(":key-pair-loader")) api(project(":key-pair-loader"))
api(project(":simple-jwt-facade")) api(project(":simple-jwt-facade"))
api(libs.jackson.databind) api(libs.jackson.databind)
api(libs.jwt) api(libs.jwt.core)
testImplementation(platform(libs.junit.bom)) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter) testImplementation(libs.junit.jupiter)
@@ -58,14 +58,14 @@ dependencies {
api(project(":guid")) api(project(":guid"))
api(project(":simple-jwt-facade")) api(project(":simple-jwt-facade"))
api(project(":simple-jwt-authzero")) api(project(":simple-jwt-authzero"))
implementation(libs.spring.boot.autoconfigure) implementation(libs.springBoot.autoconfigure)
implementation(libs.spring.boot.starter.logging) implementation(libs.springBoot.starter.logging)
implementation(libs.spring.boot.configuration.processor) implementation(libs.springBoot.configurationProcessor)
annotationProcessor(libs.spring.boot.configuration.processor) annotationProcessor(libs.springBoot.configurationProcessor)
testImplementation(platform(libs.junit.bom)) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter) testImplementation(libs.junit.jupiter)
testImplementation(libs.spring.boot.starter.test) testImplementation(libs.springBoot.starter.test)
} }
java { java {
@@ -56,15 +56,15 @@ dependencies {
implementation(libs.logback) implementation(libs.logback)
implementation(libs.jackson.databind) implementation(libs.jackson.databind)
implementation(libs.spring.boot.autoconfigure) implementation(libs.springBoot.autoconfigure)
implementation(libs.spring.boot.starter.logging) implementation(libs.springBoot.starter.logging)
implementation(libs.spring.boot.configuration.processor) implementation(libs.springBoot.configurationProcessor)
implementation(libs.spring.boot.starter.redis) implementation(libs.springBoot.starter.redis)
annotationProcessor(libs.spring.boot.configuration.processor) annotationProcessor(libs.springBoot.configurationProcessor)
testImplementation(platform(libs.junit.bom)) testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter) testImplementation(libs.junit.jupiter)
testImplementation(libs.spring.boot.starter.test) testImplementation(libs.springBoot.starter.test)
} }
tasks.test { tasks.test {