-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
65 lines (50 loc) · 1.69 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
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.10'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}
group = 'com.june'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
bootJar { // 서버 인스턴스 별로 각기 다른 group id를 부여하기 위해 임시로 설정
archiveFileName = "chatdemo-foo.jar" // server 1
// archiveFileName = "chatdemo-boo.jar" // server 2
}
dependencies {
// redis(채팅방 저장용)
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// spring web
implementation 'org.springframework.boot:spring-boot-starter-web'
// web socket
implementation 'org.springframework.boot:spring-boot-starter-websocket'
// kafka(pub/sub 구현용)
implementation 'org.springframework.kafka:spring-kafka'
// dev tools
implementation 'org.springframework.boot:spring-boot-devtools'
// socket client
implementation 'org.webjars.bower:bootstrap:4.3.1'
implementation 'org.webjars.bower:vue:2.5.16'
implementation 'org.webjars.bower:axios:0.17.1'
implementation 'org.webjars:sockjs-client:1.1.2'
implementation 'org.webjars:stomp-websocket:2.3.3-1'
// freemarker
implementation 'org.springframework.boot:spring-boot-starter-freemarker'
// json
implementation 'com.google.code.gson:gson:2.8.0'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.projectreactor:reactor-test'
testImplementation 'org.springframework.kafka:spring-kafka-test'
}
tasks.named('test') {
useJUnitPlatform()
}