-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
99 lines (79 loc) · 2.92 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
plugins {
id 'org.springframework.boot' version '2.6.5'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'jacoco'
}
jacoco {
toolVersion = '0.8.7'
}
tasks.withType(Test) {
jacoco.includeNoLocationClasses = true
jacoco.excludes = ['jdk.internal.*']
}
group = 'com.glassbottle'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
jar {
enabled = false
}
repositories {
mavenCentral()
}
dependencies {
// spring starter
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation "org.springframework.boot:spring-boot-starter-webflux"
implementation "org.springframework.boot:spring-boot-starter-data-redis"
implementation 'org.springframework.boot:spring-boot-starter-parent:3.0.4'
implementation 'org.projectlombok:lombok:1.18.26'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// http client
implementation 'org.apache.httpcomponents:httpclient'
implementation 'com.google.code.gson:gson:2.10.1'
// metadata config
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
// database
runtimeOnly "mysql:mysql-connector-java"
// swagger
implementation 'io.springfox:springfox-boot-starter:3.0.0'
// 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')
// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// slack log
implementation 'com.github.maricn:logback-slack-appender:1.6.1'
// spring actuator
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// qr code
implementation 'com.google.zxing:javase:3.5.1'
implementation 'com.google.zxing:core:3.5.1'
// 자바 역직렬화 문제 해결 패키지
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
implementation 'com.fasterxml.jackson.core:jackson-databind'
// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testCompileOnly 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
testImplementation 'com.navercorp.fixturemonkey:fixture-monkey-starter:0.5.2'
testImplementation 'com.navercorp.fixturemonkey:fixture-monkey-javax-validation:0.5.2'
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.21.0'
runtimeOnly('io.netty:netty-resolver-dns-native-macos:4.1.93.Final:osx-aarch_64')
}
tasks.named('test') {
useJUnitPlatform()
}