-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
115 lines (96 loc) · 4.65 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
plugins {
id 'org.springframework.boot' version '2.3.4.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'java'
id 'war'
}
ext {
javaVersion='1.8'
}
bootWar{ //bootWar Task시 이름 지정
archiveBaseName="studyshare"
archiveVersion="0.0.1-SNAPSHOT"
}
group = 'study.share.com'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-mongodb', version: '2.3.3.RELEASE'
//BCRYPT
implementation 'org.mindrot:jbcrypt:0.4'
//jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
//devtools
developmentOnly 'org.springframework.boot:spring-boot-devtools'
//mariadb
//implementation 'org.mariadb.jdbc:mariadb-java-client'
// compile 'mysql:mysql-connector-java'
// https://mvnrepository.com/artifact/mysql/mysql-connector-java
implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.24'
//lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// https://mvnrepository.com/artifact/org.bgee.log4jdbc-log4j2/log4jdbc-log4j2-jdbc4.1
implementation group: 'org.bgee.log4jdbc-log4j2', name: 'log4jdbc-log4j2-jdbc4.1', version: '1.16'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt
implementation group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.0'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.9.9'
// https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload
implementation group: 'commons-fileupload', name: 'commons-fileupload', version: '1.4'
//spring-security
implementation 'org.springframework.boot:spring-boot-starter-security'
// https://mvnrepository.com/artifact/javax.validation/validation-api
implementation group: 'javax.validation', name: 'validation-api', version: '2.0.1.Final'
// AWS S3
implementation group: 'org.springframework.cloud', name: 'spring-cloud-aws', version: '2.2.1.RELEASE', ext: 'pom'
// https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-s3
implementation group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.853'
implementation group: 'io.springfox', name: 'springfox-swagger2', version: '2.9.2'
implementation group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.9.2'
// https://mvnrepository.com/artifact/commons-codec/commons-codec
implementation group: 'commons-codec', name: 'commons-codec', version: '1.9'
// https://mvnrepository.com/artifact/commons-io/commons-io
implementation group: 'commons-io', name: 'commons-io', version: '2.4'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation('org.springframework.boot:spring-boot-starter-thymeleaf')
implementation group: 'com.google.firebase', name: 'firebase-admin', version: '7.1.0'
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1'
implementation group: 'org.json', name: 'json', version: '20180813'
//aop 사용자 logging을 위한 설정
implementation 'org.springframework.boot:spring-boot-starter-aop'
// https://mvnrepository.com/artifact/com.google.firebase/firebase-admin
implementation group: 'com.google.firebase', name: 'firebase-admin', version: '6.5.0'
//STOMP 알림을 위한 설정
implementation 'org.webjars:webjars-locator-core'
implementation 'org.webjars:sockjs-client:1.0.2'
implementation 'org.webjars:stomp-websocket:2.3.3'
implementation 'org.webjars:bootstrap:3.3.7'
implementation 'org.webjars:jquery:3.1.1-1'
//lucy-xss-servlet-filter 설정
implementation group: 'com.navercorp.lucy', name: 'lucy-xss-servlet', version: '2.0.0'
implementation 'org.apache.commons:commons-text:1.9'
}
ext.profile = (!project.hasProperty('profile') || !profile) ? 'dev' : profile
sourceSets {
main {
resources {
srcDirs "src/main/resources", "src/main/resources-${profile}"
}
}
}
test {
useJUnitPlatform()
}