From 273a791fdf49f26578aeab7d1d58da400f2e95f8 Mon Sep 17 00:00:00 2001 From: 05412 Date: Mon, 5 Aug 2024 14:41:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96=E7=89=88?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C=E5=88=86=E7=A6=BB=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 12 ++++++------ gradle.properties | 5 ++++- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 262bf48..442b922 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ plugins { id 'java' id 'org.jetbrains.kotlin.jvm' version '2.0.0' 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' @@ -41,18 +41,18 @@ allprojects { dependencies { 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 '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 'io.jsonwebtoken:jjwt-api:0.12.6' + implementation "io.jsonwebtoken:jjwt-api:${jwt_version}" implementation 'org.springframework.boot:spring-boot-starter-data-redis' testImplementation 'org.springframework.security:spring-security-test' testImplementation 'org.springframework.boot:spring-boot-starter-test' runtimeOnly 'org.postgresql:postgresql' - runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6' - runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6' + runtimeOnly "io.jsonwebtoken:jjwt-impl:${jwt_version}" + runtimeOnly "io.jsonwebtoken:jjwt-jackson:${jwt_version}" testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } diff --git a/gradle.properties b/gradle.properties index 29e08e8..e4debab 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1,4 @@ -kotlin.code.style=official \ No newline at end of file +kotlin.code.style=official +jwt_version=0.12.6 +exposed_version=0.53.0 +snowflake_version=0.1-beta \ No newline at end of file