-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
113 lines (88 loc) · 3.21 KB
/
build.gradle
File metadata and controls
113 lines (88 loc) · 3.21 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.5.4'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'popcong'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
// Dev
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.projectlombok:lombok'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
// Web
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation "org.springframework.boot:spring-boot-starter-websocket"
// Security
implementation 'org.springframework.boot:spring-boot-starter-security'
testImplementation 'org.springframework.security:spring-security-test'
// JWT
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
// OAuth2
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
// Database
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
runtimeOnly 'com.mysql:mysql-connector-j'
// QueryDSL
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor 'com.querydsl:querydsl-apt:5.0.0:jakarta'
annotationProcessor 'jakarta.annotation:jakarta.annotation-api:2.1.1'
annotationProcessor 'jakarta.persistence:jakarta.persistence-api:3.1.0'
// Test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// HealthCheck
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// Springdoc
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0'
// ModelMapper
implementation 'org.modelmapper:modelmapper:2.4.2'
// Validation
implementation 'jakarta.validation:jakarta.validation-api:3.1.0'
//AWS
implementation platform('com.amazonaws:aws-java-sdk-bom:1.12.700')
implementation 'com.amazonaws:aws-java-sdk-s3' // S3
implementation 'com.amazonaws:aws-java-sdk-sts'
// GCP (Google Drive)
implementation 'com.google.guava:guava:32.1.0-jre'
implementation 'com.google.http-client:google-http-client:1.41.8'
implementation 'com.google.http-client:google-http-client-jackson2:1.41.8'
implementation 'com.google.api-client:google-api-client:2.7.2' // Google API Client
implementation 'com.google.apis:google-api-services-drive:v3-rev20250511-2.0.0' // Google Drive
implementation 'com.google.auth:google-auth-library-oauth2-http:1.20.0' // Google Auth
// Redis
implementation "org.springframework.boot:spring-boot-starter-data-redis"
}
// Q타입 엔티티가 생성될 경로
def generated = 'src/main/generated'
// compile시 Q타입 경로에 파일 생성
tasks.withType(JavaCompile).configureEach {
options.generatedSourceOutputDirectory.set(file(generated))
}
sourceSets {
main.java.srcDirs += [ generated ]
}
// clean 시 Q타입 삭제
clean {
delete file(generated)
}
tasks.named('test') {
useJUnitPlatform()
}