-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
96 lines (70 loc) ยท 3.1 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
plugins { // ์คํ๋ง๋ถํธ ๋ฒ์ ํ๋ฌ๊ทธ์ธ
id 'org.springframework.boot' version '2.4.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
//group ์ ํ๋ก์ ํธ ์์ฑ์์ groupId, version ์ ์ ํ๋ฆฌ์ผ์ด์
์ ๋ฒ์
group = 'com.example'
version = '0.0.1-SNAPSHOT'
//์๋ฐ ์ปดํ์ผ ๋ฉ์๋ ๋ฒ์
sourceCompatibility = 1.8
targetCompatibility = 1.8
//์ธ์ฝ๋ฉ ๋ฐฉ์
compileJava.options.encoding = 'UTF-8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
//Gradle ์ ํตํด ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ๊ฐ์ ธ์ค๋ ๊ฒฝ๋ก
repositories {
mavenCentral()
}
//์คํ๋ง ๋ถํธ ๋ํ๋์ ์ถ๊ฐ ํ๋๊ณณ
dependencies {
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.4'
// ๋ค์ด๋ฒ ๋ก๊ทธ์ธ API์ ๋ํ ์์กด์ฑ ์ถ๊ฐ
compile 'org.springframework.boot:spring-boot-starter-webflux'
compile 'org.projectreactor:reactor-spring:1.0.1.RELEASE'
// ์นด์นด์ค ๋ก๊ทธ์ธ API์ ๋ํ ์์กด์ฑ ์ถ๊ฐ
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'org.jetbrains:annotations:19.0.0'
// Spring Boot Starter
testImplementation('org.springframework.boot:spring-boot-starter-test')
// validation
implementation 'org.springframework.boot:spring-boot-starter-validation:2.6.3'
// Lombok
implementation('org.projectlombok:lombok')
compileOnly('org.projectlombok:lombok:1.18.16')
annotationProcessor('org.projectlombok:lombok:1.18.16')
// DB
runtimeOnly('mysql:mysql-connector-java') //mysql8
//runtimeOnly 'mysql:mysql-connector-java:5.1.47' //mysql5
implementation('org.springframework.boot:spring-boot-starter-jdbc')
compile('org.springframework.boot:spring-boot-starter-data-jpa') //mysql 5๋ฒ์ ์ ๊ฒฝ์ฐ ์ญ์ .
// Web
implementation('org.springframework.boot:spring-boot-starter-web')
// Security, Authentication
implementation('org.springframework.boot:spring-boot-starter-security')
compile(group: 'io.jsonwebtoken', name: 'jjwt', version: '0.7.0')
compile('io.jsonwebtoken:jjwt:0.9.0')
implementation('org.springframework.boot:spring-boot-starter')
compile('org.springframework.boot:spring-boot-starter-web')
// Email
implementation 'com.sun.mail:javax.mail:1.6.2'
implementation 'org.springframework.boot:spring-boot-starter-mail'
// ์ค์จ๊ฑฐ
implementation group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.9.2'
implementation group: 'io.springfox', name: 'springfox-swagger2', version: '2.9.2'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'org.apache.httpcomponents:httpclient:4.5.12'
implementation group: 'org.springframework.security.oauth', name: 'spring-security-oauth2', version: '2.3.5.RELEASE'
// Aws - S3
compile 'org.springframework.cloud:spring-cloud-starter-aws:2.0.1.RELEASE'
implementation platform('com.amazonaws:aws-java-sdk-bom:1.11.228')
implementation 'com.amazonaws:aws-java-sdk-s3'
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
}
test {
useJUnitPlatform()
}