-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
108 lines (83 loc) ยท 2.96 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
/**
* build.gradle
*
* @author jy
* @version 1.0, dependency ์ถ๊ฐ
* @see None
*/
plugins {
id 'org.springframework.boot' version '2.4.3'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.sriracha'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext.profile = (!project.hasProperty('profile') || !profile) ? 'local' : profile
sourceSets {
main {
resources {
srcDirs("src/main/resources", "src/main/resources/profiles")
}
}
}
bootRun {
String activeProfile = System.properties['spring.profiles.active']
println "zone: $activeProfile"
systemProperty "spring.profiles.active", activeProfile
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
// implementation 'junit:junit:4.12'
implementation 'org.junit.jupiter:junit-jupiter:5.4.2'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// jy: jpa ์ค์
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// jy: mysql ์ค์
compile 'mysql:mysql-connector-java'
// jy: spring security
compile('org.springframework.boot:spring-boot-starter-oauth2-client')
compile('org.springframework.boot:spring-boot-starter-security')
compile 'io.jsonwebtoken:jjwt-api:0.11.2'
runtime 'io.jsonwebtoken:jjwt-impl:0.11.2',
// Uncomment the next line if you want to use RSASSA-PSS (PS256, PS384, PS512) algorithms:
//'org.bouncycastle:bcprov-jdk15on:1.60',
'io.jsonwebtoken:jjwt-jackson:0.11.2' // or 'io.jsonwebtoken:jjwt-gson:0.11.2' for gson
implementation 'com.google.code.gson:gson:2.8.6'
// jy: Redis ์ค์
compile 'org.springframework.boot:spring-boot-starter-data-redis'
// jy: password ์ฐพ๊ธฐ ์ด๋ฉ์ผ ์ ์ก
implementation 'org.springframework.boot:spring-boot-starter-mail'
// jy: API ๋ฌธ์ ์๋ํ
implementation 'io.springfox:springfox-swagger2:2.9.2'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
// jy: AmazonS3
compile 'org.springframework.cloud:spring-cloud-starter-aws:2.0.1.RELEASE'
// jy: multipart file
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
// json parsing
compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
// jsoup HTML parser
implementation 'org.jsoup:jsoup:1.14.2'
compile group: 'org.modelmapper', name: 'modelmapper', version: '2.3.5'
implementation 'org.springframework.boot:spring-boot-starter-batch'
implementation 'org.springframework.boot:spring-boot-starter-quartz'
testImplementation 'org.springframework.batch:spring-batch-test'
// elasticsearch
compile 'org.springframework.boot:spring-boot-starter-data-elasticsearch'
}
test {
useJUnitPlatform()
}