-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
116 lines (93 loc) · 4.42 KB
/
build.gradle
File metadata and controls
116 lines (93 loc) · 4.42 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
109
110
111
112
113
114
115
116
plugins {
id 'java'
id 'org.springframework.boot' version '3.5.4'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.foreigner'
version = '0.0.1-SNAPSHOT'
java {
toolchain { languageVersion = JavaLanguageVersion.of(21) }
}
configurations {
compileOnly { extendsFrom annotationProcessor }
}
repositories { mavenCentral() }
ext {
// Boot 3.5.x ↔ Cloud 2025.0.x (호환 BOM)
set('springCloudVersion', '2025.0.0')
}
dependencies {
// --- Spring ---
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
runtimeOnly 'org.postgresql:postgresql'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// --- OpenAPI(UI) ---
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.4'
// --- OpenFeign ---
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.70'
implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
// x-www-form-urlencoded 인코딩 (필수)
implementation 'io.github.openfeign.form:feign-form:3.8.0'
implementation 'io.github.openfeign.form:feign-form-spring:3.8.0'
// --- JWT (권장: jackson 모듈 포함) ---
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.9"
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5'
// --- Lombok / Test ---
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
implementation "com.querydsl:querydsl-core:5.1.0"
implementation "com.querydsl:querydsl-jpa:5.1.0:jakarta"
annotationProcessor "com.querydsl:querydsl-apt:5.1.0:jakarta"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
implementation 'org.springframework.boot:spring-boot-starter-webflux'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
testImplementation 'org.mockito:mockito-inline:5.2.0'
testImplementation "org.junit.jupiter:junit-jupiter:5.10.3"
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
implementation 'software.amazon.awssdk:s3:2.25.39'
implementation 'software.amazon.awssdk:auth:2.25.39'
implementation 'software.amazon.awssdk:regions:2.25.39'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
implementation 'com.google.cloud:google-cloud-translate:2.38.0'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'com.fasterxml.jackson.core:jackson-databind'
implementation 'com.github.ben-manes.caffeine:caffeine:3.1.8'
implementation 'org.springframework.boot:spring-boot-starter-aop' // AOP
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'com.google.firebase:firebase-admin:9.2.0'
implementation 'io.micrometer:micrometer-registry-prometheus'
// implementation "org.flywaydb:flyway-core"
// implementation "org.postgresql:postgresql:42.7.7"
implementation("org.flywaydb:flyway-core")
implementation("org.flywaydb:flyway-database-postgresql")
}
dependencyManagement {
imports {
// ★ Cloud BOM 반드시 포함 (없으면 @FeignClient 인식 안 됨)
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}
test {
jvmArgs += ["-XX:+EnableDynamicAgentLoading"]
}