-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
151 lines (123 loc) · 4.8 KB
/
build.gradle
File metadata and controls
151 lines (123 loc) · 4.8 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.11'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.finders'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '21'
targetCompatibility = '21'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
// ========================================
// Spring Boot Starters
// ========================================
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// ========================================
// Security & OAuth2
// ========================================
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
testImplementation 'org.springframework.security:spring-security-test'
// JWT
implementation 'io.jsonwebtoken:jjwt-api:0.12.6'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6'
// ========================================
// Database
// ========================================
runtimeOnly 'com.mysql:mysql-connector-j'
runtimeOnly 'com.h2database:h2' // 로컬/테스트용
// ========================================
// QueryDSL
// ========================================
implementation 'com.querydsl:querydsl-jpa:5.1.0:jakarta'
annotationProcessor 'com.querydsl:querydsl-apt:5.1.0:jakarta'
annotationProcessor 'jakarta.annotation:jakarta.annotation-api'
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'
// ========================================
// API Documentation (Swagger)
// ========================================
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0'
// ========================================
// Google Cloud Platform
// ========================================
implementation platform('com.google.cloud:libraries-bom:26.51.0')
implementation 'com.google.cloud:google-cloud-storage'
// ========================================
// Sentry (Error Monitoring)
// ========================================
implementation 'io.sentry:sentry-spring-boot-starter-jakarta:8.28.0'
// ========================================
// WebClient (Replicate API)
// ========================================
implementation 'org.springframework.boot:spring-boot-starter-webflux'
// ========================================
// PortOne V2 (결제 연동) - REST API 사용
// ========================================
// WebClient는 spring-boot-starter-webflux에서 제공
// ========================================
// Utility
// ========================================
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// ========================================
// Environment (.env 파일 로드 - 로컬 개발용)
// ========================================
developmentOnly 'me.paulschwarz:springboot3-dotenv:5.1.0'
// ========================================
// Test
// ========================================
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// ========================================
// Fixture Monkey (Mock 데이터 자동 생성)
// ========================================
implementation 'com.navercorp.fixturemonkey:fixture-monkey-starter:1.1.11'
implementation 'com.navercorp.fixturemonkey:fixture-monkey-jakarta-validation:1.1.11'
// Sendon (카카오톡 알림톡 대행사)
implementation 'io.sendon:sendon-sdk-java:1.0.4'
// redis
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
}
// ========================================
// QueryDSL 설정
// ========================================
def querydslDir = layout.buildDirectory.dir("generated/querydsl").get().asFile
sourceSets {
main.java.srcDirs += [querydslDir]
}
tasks.withType(JavaCompile).configureEach {
options.generatedSourceOutputDirectory.set(querydslDir)
}
clean.doLast {
file(querydslDir).deleteDir()
}
// ========================================
// Test 설정
// ========================================
tasks.named('test') {
useJUnitPlatform()
}
jar {
enabled = false
}
bootJar {
enabled = true
}
springBoot {
buildInfo()
}