-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
61 lines (47 loc) · 1.98 KB
/
build.gradle
File metadata and controls
61 lines (47 loc) · 1.98 KB
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
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.4'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'spring'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
implementation 'org.springframework.boot:spring-boot-starter-websocket'//웹소켓을 사용하기 위한 라이브러리
developmentOnly 'org.springframework.boot:spring-boot-devtools'//서버, 클라이언트 자동 시작을 도와줌
implementation 'org.springframework.boot:spring-boot-starter-web' //@Controller 사용 위해 추가
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0'
//롬복 관련
compileOnly 'org.projectlombok:lombok:1.18.36' //컴파일 시 롬복 사용
annotationProcessor 'org.projectlombok:lombok:1.18.36' //롬복 자동 생성
testCompileOnly 'org.projectlombok:lombok:1.18.36' //테스트 에서 컴파일 시 롬복 사용
testAnnotationProcessor 'org.projectlombok:lombok:1.18.36' //테스트 에서 롬복 자동 생성
implementation 'org.springframework.boot:spring-boot-starter-data-redis' //redis
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.integration:spring-integration-core'
implementation 'org.springframework.integration:spring-integration-redis'
implementation 'org.springframework.integration:spring-integration-redis'
}
test {
reports {
html.required.set(true)
}
}
bootJar {
archiveBaseName.set("myapp")
archiveVersion.set("0.0.1-SNAPSHOT") // 선택
}
tasks.named('test') {
useJUnitPlatform()
}