-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
87 lines (79 loc) · 3.81 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.2'
id 'io.spring.dependency-management' version '1.1.2'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2022.0.4")
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'com.google.guava:guava:32.1.2-jre' // google core library 사용
implementation 'org.springframework.boot:spring-boot-starter-security' // security
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
// implementation(platform("software.amazon.awssdk:bom:2.20.54"))
// implementation 'software.amazon.awssdk:sns' // SNS 모듈 추가
implementation 'com.amazonaws:aws-java-sdk-core:1.11.927'
implementation 'com.amazonaws:aws-java-sdk-sns:1.11.927'
// Spring Boot SNS Starter
// implementation 'org.springframework.boot:spring-boot-starter-aws'
// implementation 'org.springframework.boot:spring-boot-starter-oauth2-client:2.7.11' // oauth2
// implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.webjars:webjars-locator-core'
implementation 'org.webjars:sockjs-client:1.5.1'
compileOnly 'org.projectlombok:lombok'
implementation 'org.mapstruct:mapstruct:1.5.3.Final'
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.5'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.kafka:spring-kafka' // 카프카
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2' // Swagger
implementation 'org.apache.commons:commons-lang3:3.11' // lang3
implementation 'org.springframework.boot:spring-boot-starter-data-redis' // Redis
// spring에서 redis를 session storage로 사용하기 위한 의존성
// implementation 'org.springframework.session:spring-session-data-redis'
implementation 'com.google.firebase:firebase-admin:9.2.0' // Firebase; 푸시 알림
implementation 'org.springframework.cloud:spring-cloud-starter-config'
// implementation 'org.springframework.cloud:spring-cloud-starter-config' // spring cloud config
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.3' // Jasypt
implementation 'software.amazon.awssdk:s3:2.20.162' // S3; 이미지 처리
runtimeOnly 'com.mysql:mysql-connector-j' // MySQL 8
annotationProcessor 'org.projectlombok:lombok'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.3.Final'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'com.h2database:h2' // 테스트 DB
testImplementation 'org.springframework.kafka:spring-kafka-test' // 카프카 전용
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-api
implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.11.5'
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-impl
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.11.5'
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-jackson
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: '0.11.5'
// testImplementation 'org.springframework.security:spring-security-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}