更新依赖版本,分离版本号

This commit is contained in:
05412 2024-08-05 14:41:44 +08:00
parent f981da6167
commit 273a791fdf
2 changed files with 10 additions and 7 deletions

View File

@ -2,7 +2,7 @@ plugins {
id 'java' id 'java'
id 'org.jetbrains.kotlin.jvm' version '2.0.0' id 'org.jetbrains.kotlin.jvm' version '2.0.0'
id 'org.springframework.boot' version '3.3.2' id 'org.springframework.boot' version '3.3.2'
id 'io.spring.dependency-management' version '1.1.5' id 'io.spring.dependency-management' version '1.1.6'
} }
group = 'dev.surl' group = 'dev.surl'
@ -41,18 +41,18 @@ allprojects {
dependencies { dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-web'
implementation("org.jetbrains.exposed:exposed-spring-boot-starter:0.52.0") implementation "org.jetbrains.exposed:exposed-spring-boot-starter:${exposed_version}"
implementation 'commons-codec:commons-codec' implementation 'commons-codec:commons-codec'
implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation "org.noelware.charted.snowflake:snowflake:0.1-beta" implementation "org.noelware.charted.snowflake:snowflake:${snowflake_version}"
implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'io.jsonwebtoken:jjwt-api:0.12.6' implementation "io.jsonwebtoken:jjwt-api:${jwt_version}"
implementation 'org.springframework.boot:spring-boot-starter-data-redis' implementation 'org.springframework.boot:spring-boot-starter-data-redis'
testImplementation 'org.springframework.security:spring-security-test' testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.boot:spring-boot-starter-test'
runtimeOnly 'org.postgresql:postgresql' runtimeOnly 'org.postgresql:postgresql'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6' runtimeOnly "io.jsonwebtoken:jjwt-impl:${jwt_version}"
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6' runtimeOnly "io.jsonwebtoken:jjwt-jackson:${jwt_version}"
testRuntimeOnly 'org.junit.platform:junit-platform-launcher' testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
} }

View File

@ -1 +1,4 @@
kotlin.code.style=official kotlin.code.style=official
jwt_version=0.12.6
exposed_version=0.53.0
snowflake_version=0.1-beta