chore: add Spring Security to library
This commit is contained in:
+3
-1
@@ -49,10 +49,12 @@ dependencies {
|
|||||||
implementation(libs.flyway.core)
|
implementation(libs.flyway.core)
|
||||||
implementation(libs.flyway.postgresql)
|
implementation(libs.flyway.postgresql)
|
||||||
implementation(libs.jackson.jsr310)
|
implementation(libs.jackson.jsr310)
|
||||||
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.16")
|
implementation(libs.spring.boot.starter.doc)
|
||||||
|
implementation(libs.spring.boot.starter.security)
|
||||||
testImplementation(libs.spring.boot.starter.test)
|
testImplementation(libs.spring.boot.starter.test)
|
||||||
testImplementation(libs.reactor.test)
|
testImplementation(libs.reactor.test)
|
||||||
testImplementation(libs.mybatis.starter.test)
|
testImplementation(libs.mybatis.starter.test)
|
||||||
|
testImplementation(libs.spring.security.test)
|
||||||
runtimeOnly(libs.postgres.driver)
|
runtimeOnly(libs.postgres.driver)
|
||||||
testRuntimeOnly(libs.h2.database)
|
testRuntimeOnly(libs.h2.database)
|
||||||
testRuntimeOnly(libs.junit.launcher)
|
testRuntimeOnly(libs.junit.launcher)
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ mybatisVersion = "3.0.5"
|
|||||||
jacksonVersion = "2.19.2"
|
jacksonVersion = "2.19.2"
|
||||||
hypersistenceVersion = "3.14.0"
|
hypersistenceVersion = "3.14.0"
|
||||||
springDependencyManagementVersion = "1.1.7"
|
springDependencyManagementVersion = "1.1.7"
|
||||||
|
springDocVersion = "2.8.16"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
# General Utilities
|
# General Utilities
|
||||||
@@ -57,16 +58,19 @@ spring-boot-configurationProcessor = { group = "org.springframework.boot", name
|
|||||||
spring-boot-actuator = { group = "org.springframework.boot", name = "spring-boot-starter-actuator" }
|
spring-boot-actuator = { group = "org.springframework.boot", name = "spring-boot-starter-actuator" }
|
||||||
|
|
||||||
# Security & Auth
|
# Security & Auth
|
||||||
spring-boot-starter-security = { group = "org.springframework.boot", name = "spring-boot-starter-security", version.ref = "springBootVersion" }
|
spring-boot-starter-security = { group = "org.springframework.boot", name = "spring-boot-starter-security" }
|
||||||
jwt-core = { group = "com.auth0", name = "java-jwt", version.ref = "javaJwtVersion" }
|
jwt-core = { group = "com.auth0", name = "java-jwt", version.ref = "javaJwtVersion" }
|
||||||
|
|
||||||
|
# Spring Doc
|
||||||
|
spring-boot-starter-doc = { group = "org.springdoc", name = "springdoc-openapi-starter-webmvc-ui", version.ref = "springDocVersion" }
|
||||||
|
|
||||||
# Cloud Services
|
# Cloud Services
|
||||||
aws-sdk-bom = { group = "software.amazon.awssdk", name = "bom", version.ref = "awsSdkVersion" }
|
aws-sdk-bom = { group = "software.amazon.awssdk", name = "bom", version.ref = "awsSdkVersion" }
|
||||||
aws-sdk-s3 = { group = "software.amazon.awssdk", name = "s3" }
|
aws-sdk-s3 = { group = "software.amazon.awssdk", name = "s3" }
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
spring-boot-starter-test = { group = "org.springframework.boot", name = "spring-boot-starter-test", version.ref = "springBootVersion" }
|
spring-boot-starter-test = { group = "org.springframework.boot", name = "spring-boot-starter-test", version.ref = "springBootVersion" }
|
||||||
spring-security-test = { group = "org.springframework.security", name = "spring-security-test", version.ref = "springSecurityVersion" }
|
spring-security-test = { group = "org.springframework.security", name = "spring-security-test" }
|
||||||
reactor-test = { group = "io.projectreactor", name = "reactor-test", version.ref = "reactorVersion" }
|
reactor-test = { group = "io.projectreactor", name = "reactor-test", version.ref = "reactorVersion" }
|
||||||
junit-launcher = { group = "org.junit.platform", name = "junit-platform-launcher", version.ref = "junitPlatformVersion" }
|
junit-launcher = { group = "org.junit.platform", name = "junit-platform-launcher", version.ref = "junitPlatformVersion" }
|
||||||
mybatis-starter-test = { group = "org.mybatis.spring.boot", name = "mybatis-spring-boot-starter-test", version.ref = "mybatisVersion" }
|
mybatis-starter-test = { group = "org.mybatis.spring.boot", name = "mybatis-spring-boot-starter-test", version.ref = "mybatisVersion" }
|
||||||
|
|||||||
Reference in New Issue
Block a user