-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
119 lines (89 loc) · 3.4 KB
/
build.gradle
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
plugins {
id 'org.springframework.boot' version '2.7.1'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'shop'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
apply plugin: "io.spring.dependency-management"
dependencies {
//jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
//mysql
runtimeOnly('mysql:mysql-connector-java')
//spring boot
implementation 'org.springframework.boot:spring-boot-starter-web'
//lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
//test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//jwt
implementation 'io.jsonwebtoken:jjwt:0.9.1'
//테스트에서 lombok 사용.
testCompileOnly 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
//validation
implementation 'org.springframework.boot:spring-boot-starter-validation'
//Swagger
implementation 'io.springfox:springfox-boot-starter:3.0.0'
// Mail
implementation 'org.springframework.boot:spring-boot-starter-mail'
// redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// AWS SES (Mail)
implementation 'com.amazonaws:aws-java-sdk-ses:1.12.3'
//Querydsl 추가. 보통 버전업이 되면 수정사항이 발생한다.
implementation 'com.querydsl:querydsl-jpa'
annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jpa"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
// WebClient
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.projectreactor:reactor-spring:1.0.1.RELEASE'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
//채팅 로직
implementation 'io.netty:netty-resolver-dns-native-macos:4.1.68.Final:osx-aarch_64'
// FCM push
implementation 'com.google.firebase:firebase-admin:6.8.1'
// okhttp
implementation("com.squareup.okhttp3:okhttp:4.9.1")
// GSON
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
//S3
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
// Rabbitmq & Docker
implementation 'org.springframework.boot:spring-boot-starter-amqp'
implementation 'com.fasterxml.jackson.core:jackson-databind'
// rabbitmq test
testImplementation 'org.springframework.amqp:spring-rabbit-test'
//mongodb
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
// apple login
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' // 테스트 용
implementation 'org.apache.httpcomponents:httpclient'
implementation 'com.nimbusds:nimbus-jose-jwt:3.10'
implementation "io.jsonwebtoken:jjwt:0.9.1"
implementation "org.bouncycastle:bcpkix-jdk15on:1.50"
implementation "org.apache.httpcomponents:httpclient:4.5.13"
implementation fileTree(dir: 'libs', include: '*.jar')
}
tasks.named('test') {
useJUnitPlatform()
}
// apple login
tasks.withType(JavaCompile){
options.compilerArgs.addAll([
"--add-exports=java.base/sun.security.pkcs=ALL-UNNAMED",
"--add-exports=java.base/sun.security.util=ALL-UNNAMED",
"--add-exports=java.base/sun.security.x509=ALL-UNNAMED"
])
}
//Querydsl 추가, 자동 생성된 Q클래스 gradle clean으로 제거
clean {
delete file('src/main/generated')
}