-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
86 lines (66 loc) · 1.67 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
plugins {
id 'org.springframework.boot' version '2.5.5'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'application'
id 'jacoco'
}
group = 'com.ddd-kurly-clone'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
repositories {
mavenCentral()
}
dependencies {
// Spring Web
implementation 'org.springframework.boot:spring-boot-starter-web:2.5.5'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.5.5'
// Lombok
compileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
// AssertJ
testImplementation 'org.assertj:assertj-core:3.21.0'
// Spring Developer Tools
developmentOnly 'org.springframework.boot:spring-boot-devtools:2.5.5'
// Spring Data Core
implementation group: 'org.springframework.data', name: 'spring-data-commons', version: '2.5.4'
// Spring Data JPA
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.5.5'
runtimeOnly 'com.h2database:h2:1.4.200'
// DozerMapper
implementation 'com.github.dozermapper:dozer-core:6.5.2'
// Spring Validation
implementation 'org.springframework.boot:spring-boot-starter-validation:2.5.5'
//WebClient
implementation 'org.springframework.boot:spring-boot-starter-webflux:2.5.5'
}
test {
useJUnitPlatform()
}
application {
mainClass = 'com.dddkurlyclone.product.App'
}
jacoco {
toolVersion = "0.8.7"
}
jacocoTestReport {
dependsOn test
}
jacocoTestCoverageVerification {
violationRules {
rule {
element = "CLASS"
limit {
counter = 'LINE'
minimum = 1
}
limit {
counter = 'BRANCH'
minimum = 1
}
excludes = [
"com.dddkurlyclone.product.App",
]
}
}
}