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'