-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
85 lines (68 loc) · 2.79 KB
/
build.gradle
File metadata and controls
85 lines (68 loc) · 2.79 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.5.0'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.sejong'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2025.0.0")
}
dependencies {
//Spring cloud GateWay 관련 비동기 처리
implementation 'org.springframework.cloud:spring-cloud-starter-gateway'
//redis
implementation "org.springframework.boot:spring-boot-starter-data-redis-reactive"
// //Eureka 서버
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
//swagger 라우팅
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springdoc:springdoc-openapi-starter-webflux-ui:2.8.0'
implementation 'org.apache.commons:commons-lang3:3.18.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
//토큰 관련
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5' // JSON 처리용
// 나중에 필요한 라이브러리
implementation 'org.springframework.boot:spring-boot-actuator-autoconfigure'
implementation 'org.springframework.boot:spring-boot-starter-actuator' // Spring Boot Actuator
implementation 'org.springframework.cloud:spring-cloud-starter-config' // Spring Cloud Config Client
implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap' // Spring Cloud Bootstrap (구성 초기화 지원)
// implementation 'org.springframework.cloud:spring-cloud-starter-bus-amqp'
// AWS 공식 SDK 사용
implementation platform('software.amazon.awssdk:bom:2.25.0')
implementation 'software.amazon.awssdk:cloudwatchlogs'
// Logback과의 통합을 위한 라이브러리
implementation 'io.github.dibog:cloudwatch-logback-appender:2.0.0'
runtimeOnly("org.springframework.boot:spring-boot-properties-migrator")
// ← 이건 오히려 런타임 포함이라 비추
//Actuator - metric 수집
implementation 'org.springframework.boot:spring-boot-starter-actuator'
//prometheus를 이용한 데이터 통계
implementation 'io.micrometer:micrometer-registry-prometheus'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}