-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
69 lines (60 loc) · 2.11 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
group 'com.cedaniel200.practice'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
sourceCompatibility = 1.8
bootJar {
baseName('unit-testing-app')
version('1.0.0')
}
jacoco {
toolVersion = "0.8.8"
reportsDirectory = layout.buildDirectory.dir('jacoco')
}
jacocoTestReport {
reports {
xml.required = true
}
afterEvaluate {
classDirectories.from = files(classDirectories.files.collect {
fileTree(dir: it, exclude: [
'com/cedaniel200/practice/config/**',
'com/cedaniel200/practice/console/**',
'com/cedaniel200/practice/model/**',
'com/cedaniel200/practice/App*'
])
})
}
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/milestone" }
maven {
url 'https://repo.spring.io/libs-snapshot'
}
}
buildscript {
repositories {
mavenCentral()
maven { url "https://repo.spring.io/milestone" }
maven { url 'https://repo.spring.io/libs-snapshot' }
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.0.1.RELEASE'
}
}
dependencies {
testImplementation group: 'org.mockito', name: 'mockito-core', version: '2.19.0'
testImplementation group: 'org.mockito', name: 'mockito-inline', version: '2.19.0'
testImplementation group: 'org.powermock', name: 'powermock-module-junit4', version: '2.0.0'
testImplementation group: 'org.powermock', name: 'powermock-api-mockito2', version: '2.0.0'
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation 'pl.pragmatists:JUnitParams:1.1.1'
implementation 'org.springframework.boot:spring-boot-starter:2.6.7'
implementation 'org.springframework.shell:spring-shell-starter:2.0.1.RELEASE'
implementation 'org.springframework.boot:spring-boot-starter-mail:2.6.7'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
}