forked from Bumblebee-Bee/XChangePass
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
110 lines (86 loc) · 5.7 KB
/
build.gradle
File metadata and controls
110 lines (86 loc) · 5.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.2'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'Bumblebee'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
// Spring Boot 핵심 기능 라이브러리
implementation 'org.springframework.boot:spring-boot-starter-data-jpa' // JPA 및 Hibernate를 통한 데이터 접근 지원
implementation 'org.springframework.boot:spring-boot-starter-validation' // 데이터 검증을 위한 라이브러리 (Bean Validation)
implementation 'org.springframework.boot:spring-boot-starter-web' // 웹 애플리케이션 개발을 위한 라이브러리 (Spring MVC 포함)
implementation 'org.springframework.boot:spring-boot-starter-websocket' // WebSocket 기능을 제공하는 라이브러리
implementation 'org.springframework.boot:spring-boot-starter-webflux' // WebFlux 라이브러리
implementation 'org.springframework.boot:spring-boot-starter-batch' // Spring Batch 의존성
implementation 'org.springframework.boot:spring-boot-starter-actuator' // Spring 모니터링
implementation 'org.springframework.boot:spring-boot-starter-aop' // Spring AOP
implementation 'org.springframework.boot:spring-boot-starter-actuator' // Spring actuator
// Spring Security (인증 및 인가 관련 보안 기능)
implementation 'org.springframework.boot:spring-boot-starter-security' // Spring Security 기본 설정 및 기능 제공
testImplementation 'org.springframework.security:spring-security-test'
// JWT (JSON Web Token) 관련 라이브러리
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
// 테스트
testImplementation 'org.springframework.boot:spring-boot-starter-test' // Spring Boot의 테스트 도구 모음 (JUnit, Mockito 포함)
testRuntimeOnly 'org.junit.platform:junit-platform-launcher' // JUnit 플랫폼 런처 (테스트 실행 환경 제공)
testImplementation "org.testcontainers:testcontainers:1.19.2" // Docker 기반 통합 테스트 지원 (Testcontainers 기본 라이브러리)
testImplementation "org.testcontainers:junit-jupiter:1.19.2" // JUnit 5(Testcontainers 연동) 지원
testImplementation 'org.testcontainers:postgresql:1.19.2'
testImplementation "org.testcontainers:mongodb:1.19.2"
// 데이터베이스
runtimeOnly 'com.h2database:h2' // 인메모리 데이터베이스a H2 (테스트 및 개발 환경용)
runtimeOnly 'org.postgresql:postgresql:42.5.2' // PostgreSQL 데이터베이스 드라이버 (운영 환경에서 사용)
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
// Redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis' // Spring Data Redis 라이브러리
testImplementation 'com.redis:testcontainers-redis:2.2.2' // Redis용 Testcontainers (테스트 환경에서 Redis 컨테이너 실행)
implementation 'org.redisson:redisson-spring-boot-starter:3.23.4' // Redisson 락 적용
// 쿼리DSL
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta' // QueryDSL의 JPA 모듈
annotationProcessor "com.querydsl:querydsl-apt:5.0.0:jakarta" // QueryDSL 코드 자동 생성 도구
annotationProcessor "jakarta.annotation:jakarta.annotation-api" // Jakarta Annotation API (자바 표준 어노테이션 지원)
annotationProcessor "jakarta.persistence:jakarta.persistence-api" // Jakarta Persistence API (JPA 관련 표준 API 지원)
// AWS
implementation 'software.amazon.awssdk:kms:2.20.0' // AWS KMS 의존성
// RabbitMQ
implementation 'org.springframework.boot:spring-boot-starter-amqp'
testImplementation 'org.springframework.amqp:spring-rabbit-test'
testImplementation 'org.testcontainers:rabbitmq'
// Prometheus
implementation 'io.micrometer:micrometer-registry-prometheus'
// loki
implementation 'net.logstash.logback:logstash-logback-encoder:7.4'
implementation 'com.github.loki4j:loki-logback-appender:1.4.0'
// 기타
compileOnly 'org.projectlombok:lombok' // Lombok (Getter, Setter, Constructor 자동 생성)
annotationProcessor 'org.projectlombok:lombok' // Lombok 사용을 위한 어노테이션 프로세서
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.4' // Swagger Ui
implementation 'io.projectreactor.netty:reactor-netty:1.1.22' // Reactor Netty 의존성
implementation 'com.fasterxml.jackson.core:jackson-databind' // JSON 파싱을 위한 의존성
implementation 'com.google.code.gson:gson:2.10.1' // JSON 데이터를 다룰 수 있는 클래스
implementation 'io.netty:netty-resolver-dns-native-macos:4.1.68.Final:osx-aarch_64' // MacOS에서 DNS 관련 네이티브 라이브러리
}
tasks.named('test') {
useJUnitPlatform()
}
configurations.all {
resolutionStrategy {
force 'io.lettuce:lettuce-core:6.2.6.RELEASE' // 호환 버전 강제 적용
}
}