From bae1111b91ff21172a50e11482b0ccec3ed25a1c Mon Sep 17 00:00:00 2001 From: ac-f Date: Mon, 14 Nov 2022 16:08:55 +0800 Subject: [PATCH] =?UTF-8?q?Removed=20|=20=E5=86=97=E4=BD=99=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=E6=AA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 22 +++------------------- security-core/build.gradle | 1 - 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/build.gradle b/build.gradle index d3ac6fa..c869276 100644 --- a/build.gradle +++ b/build.gradle @@ -36,10 +36,10 @@ allprojects{ } } dependencies { - implementation 'org.springframework.boot:spring-boot-starter-data-jdbc' + implementation 'org.springframework.boot:spring-boot-starter-data-jdbc:2.7.5' implementation 'org.springframework.boot:spring-boot-starter-jooq' - implementation 'org.springframework.boot:spring-boot-starter-web' - implementation 'org.springframework.boot:spring-boot-starter-security' + implementation 'org.springframework.boot:spring-boot-starter-web:2.7.5' + implementation 'org.springframework.boot:spring-boot-starter-security:2.7.5' compileOnly 'org.projectlombok:lombok' developmentOnly 'org.springframework.boot:spring-boot-devtools' runtimeOnly 'com.h2database:h2' @@ -74,19 +74,3 @@ task migrateDB(type: org.flywaydb.gradle.task.FlywayMigrateTask) { outOfOrder = true placeholderReplacement = false } - -task cleanDB(type: org.flywaydb.gradle.task.FlywayCleanTask) { - cleanDisabled = false - driver = 'org.mariadb.jdbc.Driver' - url = 'jdbc:mariadb://localhost:3306/fycd?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Taipei' - user = 'root' - password = 'roottoor' - locations = ['filesystem:migrations'] - target = 'latest' - baselineVersion = '0.0.1.1' - baselineOnMigrate = true - validateOnMigrate = true - outOfOrder = true - placeholderReplacement = false -} - diff --git a/security-core/build.gradle b/security-core/build.gradle index d1c9700..cfab632 100644 --- a/security-core/build.gradle +++ b/security-core/build.gradle @@ -2,7 +2,6 @@ plugins { id 'java' } - dependencies { implementation 'org.jetbrains:annotations:20.1.0' implementation 'io.jsonwebtoken:jjwt-api:0.11.5'