-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
111 lines (85 loc) · 3.27 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.3'
id 'io.spring.dependency-management' version '1.1.4'
id 'org.ec4j.editorconfig' version '0.1.0'
id 'checkstyle'
}
configurations {
all {
exclude group: 'commons-logging', module: 'commons-logging'
}
}
editorconfig {
excludes = ['build']
}
checkstyle {
maxWarnings = 0
configFile = file("${rootDir}/config/naver-checkstyle-rules.xml")
configProperties = ["suppressionFile": "${rootDir}/config/naver-checkstyle-suppressions.xml"]
toolVersion = "8.42"
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
check.dependsOn editorconfigCheck // checkstyle이 설정 되어 있을 시, editorconfigCheck 후 checkstyle 진행
group = 'good_relation'
version = '0.0.1'
java {
sourceCompatibility = '17'
}
jar {
enabled = false
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.9.0'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-hibernate5-jakarta'
// 테스트
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework:spring-messaging'
testImplementation 'org.springframework:spring-websocket'
testRuntimeOnly 'com.h2database:h2'
implementation 'org.postgresql:postgresql:42.7.2'
implementation 'org.springframework.boot:spring-boot-starter-security'
//JWT
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
//redis
implementation 'io.lettuce:lettuce-core'
// apache global
implementation 'org.apache.commons:commons-lang3:3.14.0'
implementation 'commons-validator:commons-validator:1.8.0'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.projectlombok:lombok'
//feign
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.1.0'
//only apple silicon
runtimeOnly 'io.netty:netty-resolver-dns-native-macos:4.1.104.Final:osx-aarch_64'
//mapstruct 추가
implementation 'org.mapstruct:mapstruct:1.5.5.Final'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
testAnnotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final' // if you are using mapstruct in test code
testImplementation 'org.springframework.security:spring-security-test'
//swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
//mongo
// implementation 'org.mongodb:mongodb-driver-sync:5.2.0'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
}
tasks.named('test') {
useJUnitPlatform()
}