-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
97 lines (75 loc) · 3.01 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.5'
id 'io.spring.dependency-management' version '1.1.0'
}
group = 'com.mju'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven { url 'https://artifactory-oss.prod.netflix.net/artifactory/maven-oss-candidates' }
}
ext {
set('springCloudVersion', "2022.0.2")
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
runtimeOnly 'com.mysql:mysql-connector-j'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:4.0.0'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// Jasypt: DB 암호화
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.5'
// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
// testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.2'
// s3
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
// aws-sdk-java-v2 (s3에 Multipart 업로드를 위함)
implementation platform('software.amazon.awssdk:bom:2.17.53')
implementation 'software.amazon.awssdk:s3'
// Swagger 3
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.4'
// Thymeleaf
implementation 'org.thymeleaf:thymeleaf:3.0.5.RELEASE'
implementation 'org.thymeleaf:thymeleaf-spring3:3.0.5.RELEASE'
//Querydsl 추가
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jakarta"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
// validation
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-validation', version: '2.5.6'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-mail', version: '2.6.3'
// 다중 파일 처리
implementation 'commons-io:commons-io:2.6'
// Spring Cloud Netflix 라이브러리 추가
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.0.3'
implementation group: 'io.github.openfeign', name: 'feign-gson', version: '11.0'
// jwt
implementation 'com.nimbusds:nimbus-jose-jwt:9.31'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}
clean {
delete file('src/main/generated')
}