init: 클린 기반 auth 서버 설계

This commit is contained in:
DongHyeonka
2026-07-24 14:30:18 +09:00
parent 471db0203d
commit 8a1ac1e769
3642 changed files with 275893 additions and 1 deletions
+43
View File
@@ -0,0 +1,43 @@
import org.gradle.api.JavaVersion
import org.springframework.boot.gradle.tasks.bundling.BootJar
dependencies {
implementation project(':application')
implementation project(':presentation')
implementation project(':infrastructure')
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
implementation 'org.springframework.security:spring-security-oauth2-jose'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation libs.springdoc.openapi.webmvc.ui
compileOnly project(':domain')
compileOnly 'org.flywaydb:flyway-core'
compileOnly 'jakarta.persistence:jakarta.persistence-api'
compileOnly 'jakarta.servlet:jakarta.servlet-api'
runtimeOnly 'com.h2database:h2'
runtimeOnly 'org.postgresql:postgresql'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'jakarta.servlet:jakarta.servlet-api'
testImplementation 'jakarta.persistence:jakarta.persistence-api'
testImplementation 'com.tngtech.archunit:archunit-junit5:1.4.1'
testImplementation 'org.testcontainers:junit-jupiter:1.20.4'
testImplementation 'org.testcontainers:postgresql:1.20.4'
testImplementation 'org.flywaydb:flyway-core'
testImplementation project(':domain')
testRuntimeOnly 'com.h2database:h2'
testRuntimeOnly 'org.postgresql:postgresql'
testRuntimeOnly 'org.flywaydb:flyway-database-postgresql'
}
tasks.register("migrationBootJar", BootJar) {
group = "build"
archiveClassifier = "migration"
mainClass = "com.project.authmigration.MigrationApplication"
classpath = sourceSets.main.runtimeClasspath
targetJavaVersion = JavaVersion.VERSION_21
}